<div dir="ltr"><div>Hello,</div>
<div> </div>
<div>Just thought I'd put my two cents in...</div>
<div> </div>
<div>Igor, have you tried the os.startfile('\mypath\pyprog.exe', 'myAction') command? Where action is normally 'open', but could be 'print' or some other option.</div>
<div> </div>
<div>It does not give you a reply from the external program, but launches it as if you had clicked on it from the File Explorer, and it immediately returns to python. The only problem is that PythonCE might lose focus.</div>
<div> </div>
<div>Alex, thanks for the osce file.</div>
<div> </div>
<div>Adam<br><br></div>
<div class="gmail_quote">2008/9/6 Alexandre Delattre <span dir="ltr"><<a href="mailto:alexandre.delattre@enst-bretagne.fr">alexandre.delattre@enst-bretagne.fr</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>Recently I've adapted the module osce.py to use ctypes instead of win32* modules.<br><<a href="http://mail.python.org/pipermail/pythonce/2005-January/000948.html" target="_blank">http://mail.python.org/pipermail/pythonce/2005-January/000948.html</a>><br>
Currently there is no os.system function but a systema function that can be used this way:<br><br>systema('\\full\\path\\to\\program.exe', ['arg1', 'arg2', ...])<br><br>Cheers,<br><font color="#888888">Alexandre<br>
</font><br>_______________________________________________<br>PythonCE mailing list<br><a href="mailto:PythonCE@python.org">PythonCE@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/pythonce" target="_blank">http://mail.python.org/mailman/listinfo/pythonce</a><br>
<br></blockquote></div><br></div>