Set isolated environment working dir to the proper directory

This commit is contained in:
Mitchell Hashimoto 2011-11-02 21:55:54 -07:00
parent b3e4efb786
commit 2bd0b76fd2
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ module Acceptance
# Execute in a separate process, wait for it to complete, and
# return the IO streams.
@logger.info("Executing: #{command} #{argN.inspect}")
pid, stdin, stdout, stderr = popen4(@env, command, *argN, :chdir => @tempdir.path)
pid, stdin, stdout, stderr = popen4(@env, command, *argN, :chdir => @workdir)
_pid, status = Process.waitpid2(pid)
@logger.info("Exit status: #{status.exitstatus}")