X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 78.192.65.63 Path: csiph.com!usenet.pasdenom.info!nntpfeed.proxad.net!news.muarf.org!news.roellig-ltd.de!open-news-network.org!border2.nntp.ams1.giganews.com!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'executable': 0.07; 'executed': 0.07; 'mentioned,': 0.07; 'subject:Windows': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'thread': 0.10; 'file,': 0.15; 'output': 0.15; '"copy",': 0.16; '"dir",': 0.16; 'message-id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:between': 0.16; 'memory': 0.17; 'url:home': 0.18; 'windows': 0.20; 'mixed': 0.22; '2015': 0.23; 'tried': 0.24; 'header:X-Complaints-To:1': 0.26; 'not.': 0.27; 'separate': 0.27; 'subject: -- ': 0.27; 'command': 0.28; 'actual': 0.29; "i'm": 0.29; 'quoting': 0.29; 'run': 0.32; 'similar': 0.32; '-0700': 0.33; 'to:addr:python-list': 0.35; 'but': 0.36; 'being': 0.36; 'subject:" ': 0.36; 'totally': 0.36; 'subject:: ': 0.37; 'charset :us-ascii': 0.37; 'suggestion': 0.37; 'received:org': 0.38; 'to:addr:python.org': 0.39; 'sure': 0.40; 'your': 0.60; 'processor.': 0.84; 'subject:commands': 0.84; 'dennis': 0.91; 'subject:Server': 0.91; 'tied': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Python Paramiko between Linux and Windows Server -- no output obtained from Windows for "dir" or "cd" commands Date: Sun, 31 May 2015 20:35:09 -0400 Organization: IISS Elusive Unicorn References: <3a4707d8-46eb-4ba8-a6d9-3689b3c544f4@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-79-217-159.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1433121594 news.xs4all.nl 2964 [2001:888:2000:d::a6]:46571 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:91606 On Sun, 31 May 2015 13:12:24 -0700 (PDT), Pythonista declaimed the following: > >Thanks Peter but I got no output from your suggestion either.! From Windows viewpoint, I suspect EACH of the commands you send is being executed in a totally new process, with no memory of any commands sent previously. As mentioned, "ipconfig" is a separate executable program file, and can be run without being tied to a Windows command shell. "dir", "cd", "copy", "del", and many similar functions are NOT actual programs but internal functions of the Windows command processor. Given the mixed quoting used in this thread I'm not sure just what was tried or not. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/