diff --git a/job.go b/job.go index 308cc5b..a566152 100644 --- a/job.go +++ b/job.go @@ -159,6 +159,7 @@ func (j *jobHandler) add(cmd string, args []string, path string) *job { running: false, id: j.latestID, args: args, + path: path, stdin: os.Stdin, stdout: os.Stdout, stderr: os.Stderr,