A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-January/032037.html below:

[Python-Dev] os.popen is not working

[Python-Dev] os.popen is not workingAmit Khan amit@ontrackindia.com
Fri, 10 Jan 2003 12:51:23 +0530
Hi,
In one of my windows box

os.popen("ipconfig /all") is not working.

It is showing an error message like

Traceback (most recent call last):
  File "<stdin>", line 1, in ?
WindowsError: [Errno 123] The filename, directory name, or volume label
syntax i
s incorrect: 'C:\\WINNT\\system32\\cmd.exe\\ /c dir'

I guess "\\" after "C:\\WINNT\\system32\\cmd.exe" is creating problem.

What can be reason behind it?


Warm Regards,
Amit Khan






RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4