Re: [Twisted-Python] Re:got stuck again
hi all again got stuck folks! this time it is as follows i need to execute a script called test1.sh which acepts a name from a user . this is done in a Unix server. sh test1.sh if executed will ask for a input. user will enter a name. then user's name will be displayed in the output form this should be done Python twisted ssh. in my case it is not accepting any input On Fri, Oct 3, 2008 at 9:13 PM, shweta mani <shweta3230@gmail.com> wrote:
hi all it really helped.
On Thu, Oct 2, 2008 at 9:28 PM, George Pauly <george@ringdevelopment.com
wrote:
Would 'ls -l -R' do the trick?
-George
On Thu, 2008-10-02 at 11:40 +0530, shweta mani wrote:
hi all i got the solution of listing all ls -l files in a listbox . Next problem is to use recurrsively ls -l command again if a user selects a directory. Can we use multiple in Linux commands within a program withoy using pipe. i am forwarding the code. i need to use ls -l command dependng on whether he chooses a directory.
..........
d = self.conn.sendRequest(self, 'exec', common.NS('ls -l'), wantReply = 1) -- George Pauly Ring Development www.ringdevelopment.com
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Perhaps if we had more information about your assignment it would help. It would be nice to know where Twisted is being used. -George On Sun, 2008-10-05 at 11:46 +0530, shweta mani wrote:
hi all again got stuck folks! this time it is as follows i need to execute a script called test1.sh which acepts a name from a user . this is done in a Unix server. sh test1.sh if executed will ask for a input. user will enter a name. then user's name will be displayed in the output form this should be done Python twisted ssh. in my case it is not accepting any input
On Fri, Oct 3, 2008 at 9:13 PM, shweta mani <shweta3230@gmail.com> wrote: hi all it really helped.
On Thu, Oct 2, 2008 at 9:28 PM, George Pauly <george@ringdevelopment.com> wrote: Would 'ls -l -R' do the trick?
-George
On Thu, 2008-10-02 at 11:40 +0530, shweta mani wrote:
> hi all i got the solution of listing all ls -l files in a listbox . > Next problem is to use recurrsively ls -l command again if a user > selects a directory. Can we use multiple in Linux commands within a > program withoy using pipe. i am forwarding the code. i need to use ls > -l command dependng on whether he chooses a directory. >
> .......... > > d = self.conn.sendRequest(self, 'exec', common.NS('ls -l'), > wantReply = 1)
-- George Pauly Ring Development www.ringdevelopment.com
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
-- George Pauly Ring Development www.ringdevelopment.com
participants (2)
-
George Pauly -
shweta mani