Skip to content

Commit 3a9e77d

Browse files
committed
fix: 子进程结束信号
1 parent becf49e commit 3a9e77d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/process/process.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ func New(workDir, commandStr string) *Process {
1717
programName: commands[0],
1818
args: commands[1:],
1919
cmd: cmd,
20+
done: make(chan struct{}),
2021
}
2122
}
2223

0 commit comments

Comments
 (0)