Quote:
|
Originally Posted by Polyphemus_
in most other programming languages, a double backslash?
|
Well, unlike "most other programming languages", Python tries to avoid pointless things for the sake of making things more difficult. The "r" before the literal is there for a purpose, it isn't there for decoration. It voids the forward slash's use as an escape character.
print 'first line\nsecond line'
print r'\nsecond line'
@OP: The program may not like arguments with forward slashes in them. Try writing a python script that spits out the arguments (sys.argv). Then direct your code to open that script and see what the arguments are translating to within the script.
EDIT!!
Oh, I totally missed the first thing you said. About it working with those arguments! The third parameter in os.spawnl is where the arguments begin, yet you began 'sig5C' on the fourth parameter. Your code has three additional arguments, when your working example has only two. It seems that you've repeated "READER" excessively.