output file rename

This commit is contained in:
Jae Kwon
2015-04-17 11:11:13 -07:00
parent c72eb1be99
commit 731b51f703
2 changed files with 2 additions and 1 deletions

View File

@ -41,7 +41,7 @@ const (
// execPath: command name
// args: args to command. (should not include name)
func Create(mode int, label string, execPath string, args []string, input string) (*Process, error) {
outPath, outFile := makeFile(label)
outPath, outFile := makeFile("output_" + label)
cmd := exec.Command(execPath, args...)
switch mode {
case ProcessModeStd: