Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #60083

Re: run command line on Windows without showing DOS console window

Date 2013-11-20 14:49 +0000
From Tim Golden <mail@timgolden.me.uk>
Subject Re: run command line on Windows without showing DOS console window
References <050a03b7-bd56-4c6f-a6e6-e9867b08d0d5@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.2964.1384958994.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 20/11/2013 14:44, iMath wrote:
> 
> 
> is there anyway to run command line on Windows without showing DOS console window ?
> 
> can you use the following command line to give a little example ?
> 
> wget -r -np -nd http://example.com/packages/
> 
> the path to wget is C:\Program Files\GnuWin32\bin\wget.exe
> 

subprocess.call(["wget", "-r", "-np", "-nd", "http://example.com"])

TJG

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

run command line on Windows without showing DOS console window iMath <redstone-cold@163.com> - 2013-11-20 06:44 -0800
  Re: run command line on Windows without showing DOS console window Tim Golden <mail@timgolden.me.uk> - 2013-11-20 14:49 +0000
    Re: run command line on Windows without showing DOS console window Laurent Pointal <laurent.pointal@free.fr> - 2013-11-20 22:35 +0100
    Re: run command line on Windows without showing DOS console window iMath <redstone-cold@163.com> - 2013-11-23 08:13 -0800

csiph-web