Commit 9bba5dba authored by Aman Gupta's avatar Aman Gupta

Merge pull request #35 from aroben/patch-1

Fix `rbtrace --exec`
parents ac23a09d a4bd7a4f
......@@ -322,7 +322,7 @@ EOS
if opts[:exec_given]
tracee = fork{
Process.setsid
ENV['RUBYOPT'] = "-r#{File.expand_path('../../lib/rbtrace',__FILE__)}"
ENV['RUBYOPT'] = "-r#{File.expand_path('../../rbtrace',__FILE__)}"
exec(*opts[:exec])
}
STDERR.puts "*** spawned child #{tracee}: #{opts[:exec].inspect[1..-2]}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment