HEX
Server: Apache
System: Linux pdx1-shared-a2-09 6.6.116-grsec-jammy-dirty #1 SMP Sat Nov 8 00:02:42 UTC 2025 x86_64
User: dh_pvsc7i (5084578)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/ruby-systemu/examples/d.rb
#
# the cwd can be supplied
#
  require 'systemu'
  require 'tmpdir'

  pwd = %q( ruby -e"  STDERR.puts Dir.pwd  " )

  status = systemu pwd, 2=>(stderr=''), :cwd=>Dir.tmpdir
  puts stderr