popen and spawnv: losing the battle with Win98.
Radovan Garabik
garabik at melkor.dnp.fmph.uniba.sk.spam
Wed Jan 5 04:22:50 EST 2000
More information about the Python-list mailing list
Wed Jan 5 04:22:50 EST 2000
- Previous message (by thread): popen and spawnv: losing the battle with Win98.
- Next message (by thread): Sydney scoreboard?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Matthew Miller <matthewm at es.co.nz> wrote: : Hi Everyone, : Problem#1) I've tried and tried but I cannot get : os.popen('command','w').write('data') under Win98 to accept data from : the pipe - it justs ignores it. HELP! : Problem#2) Likewise, I cannot get spawnv() to work under Win98. Could : someone give me a simple example. I was biten by this some time ago. The answer is to use the full path: exefile=r"f:\python\pythonw.exe" os.spawnv(os.P_NOWAIT, exefile, (exefile, r"j:\programs\program.pyw", frm, to, message)) -- ----------------------------------------------------------- | Radovan Garabik http://melkor.dnp.fmph.uniba.sk/~garabik/ | | __..--^^^--..__ garabik @ melkor.dnp.fmph.uniba.sk | ----------------------------------------------------------- Antivirus alert: file .signature infected by signature virus. Hi! I'm a signature virus! Copy me into your signature file to help me spread!
- Previous message (by thread): popen and spawnv: losing the battle with Win98.
- Next message (by thread): Sydney scoreboard?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list