<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Bonjour,<br>
<br>
Je n'arrive pas à récupérer la sortie d'une commande avec la
fonction run().<br>
<br>
Si je fais : <i>print(run(r'dir /B C:\Windows\explorer.exe'))</i><br>
Cela m'affiche un ligne vide, alors que d'après l'aide de la
fonction run(), ça devrait m'afficher : <i>[u'explorer.exe\r\n']</i><br>
<br>
Est-ce normal ou est-ce un bug ?<br>
Si c'est normal, comment faire pour récupérer la sortie de la
commande ?<br>
<br>
Je suis en WAPT 1.3.13.<br>
<br>
Merci d'avance.<br>
<br>
Cordialement,<br>
Bastien<br>
</body>
</html>