Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: How to execute commands on a windows machine from a Linux machine

Reply
Thread Tools

Re: How to execute commands on a windows machine from a Linux machine

 
 
Andrew Berg
Guest
Posts: n/a
 
      10-04-2012
On 2012.10.04 00:13, Shambhu Rajak wrote:
> Here i have two questions,
>
> 1. I want to write a framework for Linux machine that can execute
> commands on windows machine:
>
> How to create a persistent shell between Linux and Windows machine.
>
> 2. I require to extract windows disk management features, for eg:
> Number of drives on that windows machine ,
>
> volume size of the machine, to create a partition, all these storage
> stuffs. I want to achieve all these features of windows machine, from linux.

If you must use Python, there are execnet and RPyC, which will allow you
to execute Python code remotely. Otherwise, there is Copssh, which has
an SSH server that runs on Windows.

http://codespeak.net/execnet/
http://rpyc.sourceforge.net/
https://www.itefix.no/i2/copssh
--
CPython 3.3.0 | Windows NT 6.1.7601.17835
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Re: How to execute commands on a windows machine from a Linux machine Dennis Lee Bieber Python 0 10-05-2012 01:24 AM
Re: Is Netscape Leaving Firefox Behind on GNU/Linux? THE LINUX PROPAGANDA MACHINE CONTINUES. FIREFOX IGNORING LINUX............. traci.manicotti@gmail.com Computer Support 2 10-20-2007 02:12 PM
Cannot execute Windows commands via Python in 64-bit nsjmetzger@gmail.com Python 7 05-05-2007 10:40 PM
Re: man pages for C commands (GCC commands) Ben Pfaff C Programming 4 06-28-2003 06:21 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57