diff options
author | Ron Yorston <rmy@pobox.com> | 2020-06-12 16:35:24 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2020-06-12 16:35:24 +0100 |
commit | b1a5034ca852efe2c24212db77d7b0b2660a687b (patch) | |
tree | 4d01540fba4bd2dab3506714dd457b226d006827 /shell | |
parent | 32833bc06873f83c786232617b4390b60252c417 (diff) | |
download | busybox-w32-b1a5034ca852efe2c24212db77d7b0b2660a687b.tar.gz busybox-w32-b1a5034ca852efe2c24212db77d7b0b2660a687b.tar.bz2 busybox-w32-b1a5034ca852efe2c24212db77d7b0b2660a687b.zip |
win32: minor improvements to process spawning
The function mingw_spawn_forkshell() was introduced to handle
spawning a forkshell process. Since we know that:
- the binary being executed doesn't meet any of the special cases
handled by spawnveq()
- the arguments don't require quoting
we can call spawnve() directly instead of spawnveq().
Also, use xzalloc() to allocate new_argv so we don't need to set
the final NULL pointer explicitly.
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions