Are you writing a command line interpreter (even if a partial one)? If so take
a look at : http://docs.python.org/library/cmd.html
Ramit
Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology
712 Main Street | Houston, TX 77002
work phone: 713 - 216 - 5423
This communication
On 13/05/2011 06:22, vijay swaminathan wrote:
Hi Tim.,
Thanks.. This works as I had expected.
are there any documentation for the subprocess.call method? I tried
going through the python doc but could not narrow down.
http://docs.python.org/library/subprocess.html?highlight=subprocess%20call#
Hi Tim.,
Thanks.. This works as I had expected.
are there any documentation for the subprocess.call method? I tried going
through the python doc but could not narrow down. I just wanted to know how
do I pass an arguement after invoking the command prompt?
Any thoughts on this pls?
On Thu, May
vijay swaminathan wrote:
> I have already done that. But for some reason my response went
> as a new thread. Attaching the code again.
JFYI: Please DO NOT post attachments in a non-binary newsgroup
or to a mailing list (are there binary ones at all?) again. TIA.
--
PointedEars
Bitte keine Kop
On 12/05/2011 11:29, vijay swaminathan wrote:
<... snippet from code ...>
print 'Invoking Command Promptt..'
#subprocess.call(["start", "/DC:\\PerfLocal_PAL",
"scripts_to_execute.bat"], shell=True)
subprocess.call(["start", "C:\\windows\\system32\\cmd.exe"],
shell
Hi Tim,
I have already done that. But for some reason my response went as a new
thread. Attaching the code again.
On Thu, May 12, 2011 at 3:38 PM, Tim Golden wrote:
> On 12/05/2011 10:45, vijay swaminathan wrote:
>
>>
>> I tried using that as well.
>> The problem is, the thread becomes dead as s
On 12/05/2011 10:45, vijay swaminathan wrote:
I tried using that as well.
The problem is, the thread becomes dead as soon as it executes the
invocation of command prompt.
Can you post the code you're using, please?
This should be simple so maybe you've misunderstood
something in the threading
vijay swaminathan writes:
> Hi All,
>
> I'm new bie to python thread programming and would like to assistance
> on the attached code.
>
> In this, I'm calling a thread to invoke a command prompt and would
> like to print the "Thread as alive" as long as the command prompt is
> opened and would li
I tried using that as well.
The problem is, the thread becomes dead as soon as it executes the
invocation of command prompt.
I want the thread to be alive till I go and manually close the command
prompt.
-Vijay Swaminathan.
On Thu, May 12, 2011 at 2:46 PM, Andrea Crotti wrote:
> vijay swaminat
Hi All,
I'm new bie to python thread programming and would like to assistance on the
attached code.
In this, I'm calling a thread to invoke a command prompt and would like to
print the "Thread as alive" as long as the command prompt is opened and
would like to print "Thread is Dead" only when the
10 matches
Mail list logo