Commit graph

8 commits

Author SHA1 Message Date
Sebastian Ullrich
acf4b56cd4 fix(library/process): uses bash's convention for exit codes 2017-12-30 19:31:55 +01:00
Sebastian Ullrich
93c90a9f5c fix(library/process): flush stdout before forking 2017-12-30 19:31:55 +01:00
Sebastian Ullrich
3442634181 fix(library/process): inheriting IO handles on Windows 2017-12-30 19:31:55 +01:00
Sebastian Ullrich
c838cdab34 fix(library/process): do not strip signal information from child exit status
This should match the meaning of "$?" in bash:

"3.7.5 Exit Status

The exit status of an executed command is the value returned by the waitpid system call or equivalent function. Exit statuses fall between 0 and 255."

Fixes #1868
2017-11-13 17:15:28 +01:00
Gabriel Ebner
f0d22ed3e5 feat(library/process,system/io): set environment variables for spawned processes 2017-05-04 16:41:11 -07:00
Gabriel Ebner
44bfceb6a6 feat(library/process): support working directory on windows 2017-05-01 14:11:39 -07:00
Gabriel Ebner
cefc26d9cb refactor(library/system/process): add exit status and working directory 2017-04-11 16:42:17 -07:00
Jared Roesch
dc4086d0ed feat(library/vm/process): add basic process support 2017-03-28 18:08:06 -07:00