File Manager

Path: /proc/self/root/opt/chef.upgrade/embedded/lib/ruby/gems/2.3.0/gems/systemu-2.6.5/samples/

Viewing File: 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