How to open a shell prompt from an existing shell prompt

Discussion in 'Python' started by gaurav kashyap, Oct 21, 2008.

  1. Dear all,
    I have a file in which i have written some shell commands to execute.
    Herein i require to open another shell prompt from this file.

    or simply i want to open a new shell prompt from an existing shell
    prompt.
    How could this be achieved.


    Thanks
     
    gaurav kashyap, Oct 21, 2008
    #1
    1. Advertisements

  2. gaurav kashyap

    Sean DiZazzo Guest

    On Oct 21, 4:52 am, gaurav kashyap <> wrote:
    > Dear all,
    > I have a file in which i have written some shell commands to execute.
    > Herein i require to open another shell prompt from this file.
    >
    > or simply i want to open a new shell prompt from an existing shell
    > prompt.
    > How could this be achieved.
    >
    > Thanks


    Check the subprocess module
     
    Sean DiZazzo, Oct 21, 2008
    #2
    1. Advertisements

  3. Do we have subprocess module in python 2.3
     
    gaurav kashyap, Oct 30, 2008
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kevin Buchan
    Replies:
    5
    Views:
    696
    Alvin Bruney
    Jul 9, 2003
  2. Luke Smith
    Replies:
    3
    Views:
    1,341
    Curt_C [MVP]
    Jan 7, 2004
  3. nrm
    Replies:
    3
    Views:
    753
  4. Gregory Bloom
    Replies:
    4
    Views:
    572
    Steve Holden
    Apr 28, 2007
  5. gaurav kashyap
    Replies:
    3
    Views:
    853
    gaurav kashyap
    Oct 31, 2008
  6. gaurav kashyap

    open a shell prompt froma python program

    gaurav kashyap, Oct 30, 2008, in forum: Python
    Replies:
    8
    Views:
    439
    Lawrence D'Oliveiro
    Nov 1, 2008
  7. Mel
    Replies:
    10
    Views:
    3,493
    Sailaja Appi
    Feb 13, 2009
  8. Replies:
    0
    Views:
    347
Loading...