mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
pass given params to qfcc
This commit is contained in:
parent
489ddbc7a7
commit
d59048d592
1 changed files with 3 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
import string
|
||||
from pprint import *
|
||||
|
||||
|
@ -194,8 +195,9 @@ f.write (progs_dat + '\n\n')
|
|||
for l in qcc_list:
|
||||
f.write(l + '\n')
|
||||
f.close ()
|
||||
args = ["qfcc"] + sys.argv[1:]
|
||||
if not os.fork():
|
||||
os.execlp ("qfcc", "qfcc")
|
||||
os.execvp ("qfcc", args)
|
||||
else:
|
||||
os.wait()
|
||||
for l in qcc_list:
|
||||
|
|
Loading…
Reference in a new issue