[Tutor] captering output of a cmd run using os.system.
alan.gauld@bt.com
alan.gauld@bt.com
Fri, 1 Jun 2001 11:09:11 +0100
------_=_NextPart_001_01C0EA82.E7A76810
Content-type: text/plain; charset="ISO-8859-1"
> You can use the os.popen3 command instead.
You might need to use the version of popwen in
the winall package if you are on NT/W9x
- it seems to work better...
Alan g
------_=_NextPart_001_01C0EA82.E7A76810
Content-type: text/html; charset="ISO-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<TITLE>captering output of a cmd run using os.system.</TITLE>
<META content="MSHTML 5.00.3013.2600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV
style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px"><FONT
size=2><FONT color=#0000ff><FONT face="Courier New"><SPAN
class=440351310-01062001>> </SPAN>You can use the os.popen3 command
instead.<SPAN class=440351310-01062001> </SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial><FONT color=#0000ff face="Courier New"><SPAN
class=440351310-01062001></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT size=2><FONT face=Arial><FONT color=#0000ff face="Courier New"><SPAN
class=440351310-01062001>You might need to use the version of popwen in
</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial><FONT color=#0000ff face="Courier New"><SPAN
class=440351310-01062001>the winall package if you are on NT/W9x
</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial><FONT color=#0000ff face="Courier New"><SPAN
class=440351310-01062001>- it seems to work
better...</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial><FONT color=#0000ff face="Courier New"><SPAN
class=440351310-01062001></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT size=2><FONT face=Arial><FONT color=#0000ff face="Courier New"><SPAN
class=440351310-01062001>Alan g</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial><FONT color=#0000ff face="Courier New"><SPAN
class=440351310-01062001></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT size=2><FONT face=Arial><FONT color=#0000ff face="Courier New"><SPAN
class=440351310-01062001></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT size=2><FONT face=Arial><FONT color=#0000ff face="Courier New"><SPAN
class=440351310-01062001> </SPAN></FONT></FONT></FONT></DIV></BODY></HTML>
------_=_NextPart_001_01C0EA82.E7A76810--