- try:
- subproc = findcurve_subprocs[nt]
- except KeyError:
- cl = ['./findcurve', '%d' % (nt+1), '%.18g' % findcurve_epsilon]
- dbg('STARTING FINDCURVE %s' % cl)
- subproc = subprocess.Popen(
- cl,
- bufsize=1,
- stdin=subprocess.PIPE,
- stdout=subprocess.PIPE,
- stderr=None,
- close_fds=False,
- # restore_signals=True, // want python2 compat, nnng
- universal_newlines=True,
- )
- findcurve_subprocs[nt] = subproc
-
- dbg('RUNNING FINDCURVE')
+ cl = ['./findcurve', '%d' % (nt+1), '%.18g' % findcurve_epsilon]
+ oc._dbg('STARTING FINDCURVE %s' % cl)
+ subproc = subprocess.Popen(
+ cl,
+ bufsize=1,
+ stdin=subprocess.PIPE,
+ stdout=subprocess.PIPE,
+ stderr=None,
+ close_fds=False,
+ # restore_signals=True, // want python2 compat, nnng
+ universal_newlines=True,
+ )
+
+ oc._dbg('RUNNING FINDCURVE')