Matt,
I had the same problem and ended up solving it by using
System.Diagnostics.Process instead of subprocess. As far as I know,
subprocess doesn't work under IronPython. I don't remember all of the
reasons as to why it doesn't work, but, for example, os.pipe doesn't
exist under IronPython l
#test.py
import re
# The below line fails under IronPython 1.1 (but works under Cpython)
regex = re.compile(
r"^(?PNMAKE[A-Za-z0-9]*)'\"?(?P[\\A-Za-z0-9/:_\.\+]+)" )
if regex.search( r"NMAKE0119'adirectory\afile.txt" ):
print 'good'
else:
print 'bad'
---