![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Expert Programmer
|
os.spawnl not working
I can run the following command in Windows command line successfully (assuming I have cd'ed to the proper directory:
> Reader.exe sig5C "C:\path\to\file.ext" I am trying to run this command from a Python script. What I have so far is below. It launches the program but it quits before it processes the files. What am I doing wrong? fp = r'C:\path\to\file.ext' READER = r'C:\path\to\Reader.exe' os.spawnl(os.P_WAIT, READER, READER, 'sig5C', '"%s"'%fp) |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| working example | badbasser98 | C++ | 16 | Mar 31st, 2006 10:29 AM |
| Reading and writing files not working under Windows (find under unix/linux) | .TD | Java | 2 | Mar 30th, 2006 1:42 PM |
| DropDownList in DataGrid not working! | wright45 | ASP | 1 | Jun 19th, 2005 12:46 PM |
| working with xml and c# and get this error | dark_omen | C# | 4 | May 6th, 2005 7:55 AM |
| JSP not working on the live server | Braveheart | Java | 0 | Mar 9th, 2005 9:20 PM |