Wednesday, November 16, 2005

Quote...Unquote: Python and cmd.exe

Trying to use os.system in a Python script that I want to run on both Linux and Windows is driving me crazy.

Ditto. The solution: wrap the whole sub-shell command in quotes. Bizarre.


  • This comment has been removed by a blog administrator.

    By Blogger Tatiana, at 1:38 pm  

Post a Comment

<< Home