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


Groups > comp.lang.python > #91612

Re: Python Paramiko between Linux and Windows Server -- no output obtained from Windows for "dir" or "cd" commands

X-Received by 10.182.240.136 with SMTP id wa8mr28238804obc.9.1433131800149; Sun, 31 May 2015 21:10:00 -0700 (PDT)
X-Received by 10.50.56.6 with SMTP id w6mr114301igp.16.1433131800128; Sun, 31 May 2015 21:10:00 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!h15no1399567igd.0!news-out.google.com!n7ni49651igk.0!nntp.google.com!h15no1399558igd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Sun, 31 May 2015 21:09:59 -0700 (PDT)
In-Reply-To <mailman.256.1433121594.5151.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=198.95.226.236; posting-account=xiSBGQoAAACZav-FlBNF0L-thX0USgm5
NNTP-Posting-Host 198.95.226.236
References <b92b07c3-6d2a-4fc9-a780-5803b28dadc4@googlegroups.com> <mailman.242.1433074722.5151.python-list@python.org> <3a4707d8-46eb-4ba8-a6d9-3689b3c544f4@googlegroups.com> <mailman.256.1433121594.5151.python-list@python.org>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <dafa43a5-d722-4181-af6a-af1cc46abb6e@googlegroups.com> (permalink)
Subject Re: Python Paramiko between Linux and Windows Server -- no output obtained from Windows for "dir" or "cd" commands
From Pythonista <kukki.kanchana@gmail.com>
Injection-Date Mon, 01 Jun 2015 04:10:00 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.python:91612

Show key headers only | View raw


On Sunday, May 31, 2015 at 6:20:19 PM UTC-7, Dennis Lee Bieber wrote:
> On Sun, 31 May 2015 13:12:24 -0700 (PDT), Pythonista
> <kukki.kanchana@gmail.com> 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/

Hi Peter -

So I was trying "ipconfig" and "ls /path/to/dir" back to back. Apparently, I needed a sleep inbetween the two, I believe. But if "ls" was used individually, it works fine.

Thanks!

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


Thread

Python Paramiko between Linux and Windows Server -- no output obtained from Windows for "dir" or "cd" commands Pythonista <kukki.kanchana@gmail.com> - 2015-05-31 00:02 -0700
  Re: Python Paramiko between Linux and Windows Server -- no output obtained from Windows for "dir" or "cd" commands Peter Otten <__peter__@web.de> - 2015-05-31 14:18 +0200
    Re: Python Paramiko between Linux and Windows Server -- no output obtained from Windows for "dir" or "cd" commands Pythonista <kukki.kanchana@gmail.com> - 2015-05-31 13:12 -0700
      Re: Python Paramiko between Linux and Windows Server -- no output obtained from Windows for "dir" or "cd" commands Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-05-31 20:35 -0400
        Re: Python Paramiko between Linux and Windows Server -- no output obtained from Windows for "dir" or "cd" commands Pythonista <kukki.kanchana@gmail.com> - 2015-05-31 21:09 -0700

csiph-web