mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-19 07:20:50 +00:00
use spawn instead of fork/exec/wait
This commit is contained in:
parent
bc1c68dd89
commit
9e9318a3f1
1 changed files with 1 additions and 4 deletions
|
@ -287,10 +287,7 @@ if not verbose:
|
|||
if not use_cpp:
|
||||
args = ["-C", "no-cpp"] + args
|
||||
args = ["qfcc"] + args
|
||||
if not os.fork():
|
||||
os.execvp ("qfcc", args)
|
||||
else:
|
||||
os.wait()
|
||||
os.spawnvp (os.P_WAIT, "qfcc", args)
|
||||
if not no_delete:
|
||||
for l in qcc_list:
|
||||
os.unlink (l)
|
||||
|
|
Loading…
Reference in a new issue