Nuno Lopes
0eebde1b8b
fix(process): fix inherited io on windows (handles were being incorrectly closed)
...
This also unifies the win/linux versions a bit more
2018-02-27 10:55:42 -08:00
Nuno Lopes
ce66af8f5b
fix(process): order of parameters of process class was wrong
2018-02-27 10:55:42 -08:00
Nuno Lopes
c67062644a
fix(io_proc): fix crash on Windows/VS when invoking external processes
...
This commit also removes a couple of unused functions
2018-02-27 10:43:09 -08:00
Nuno Lopes
c1a768b7a7
fix(msvc): further work on MSVC port
...
only 7 files left
2018-02-06 10:11:10 -08:00
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