[Ohrrpgce] SVN: teeemcee/8343 os: extend open_process so it can be used to fire-and-forget commandline

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Tue Jan 24 21:31:30 PST 2017


teeemcee
2017-01-24 21:31:30 -0800 (Tue, 24 Jan 2017)
496
os: extend open_process so it can be used to fire-and-forget commandline programs

Previously, on Windows it would display a console window, and on Unix
calling cleanup_process would wait for the program to quit. So there
was no function to 'fire and forget' a commandline program. Added some
args to change this behaviour.

There really are a heap of differences between the process_* functions
in os_unix and os_windows, so it's better to avoid them and use the
wrappers in util/common instead.
---
U   wip/customsubs.rbas
U   wip/os.bi
U   wip/os.h
U   wip/os_unix.c
U   wip/os_windows.bas


More information about the Ohrrpgce mailing list