Skip to content

Commit

Permalink
Fix race condition when build with Faust
Browse files Browse the repository at this point in the history
  • Loading branch information
brummer10 committed May 2, 2022
1 parent 62f7e46 commit ff7d654
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion trunk/tools/dsp2cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ try:
from cStringIO import StringIO
except ImportError:
from io import StringIO
import subprocess
from subprocess import Popen, PIPE
from optparse import OptionParser
from collections import OrderedDict
Expand Down Expand Up @@ -658,7 +659,8 @@ class Parser(object):
self.faust_opt.append(options.add);
cmd ='../tools/dsp2insert -o /tmp/'+self.insert_p+'.py'+' '+' '.join(self.faust_opt)+' --init-type=insert ../src/faust/'+self.insert_p+'.dsp'
# print('%s\n' % cmd)
os.system(cmd)
status = os.system(cmd)
os.wait()
if self.numOutputs == 2:
self.has_stereo = True
if self.topname is None:
Expand Down

0 comments on commit ff7d654

Please sign in to comment.