n00m wrote:
> os:windows
> ml = 'line1 \n line2 \n line3 \n'
> exec('some.exe "' + ml + '"')
>
> and some.exe get only 'line1'...My crystall ball says you want subprocess.call(["some.exe", ml]) exec is a python statement that executes python code. Peter -- http://mail.python.org/mailman/listinfo/python-list
