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. Advertising

  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. Advertising

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

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. nrm
    Replies:
    3
    Views:
    528
  2. Gregory Bloom
    Replies:
    4
    Views:
    353
    Steve Holden
    Apr 28, 2007
  3. gaurav kashyap
    Replies:
    3
    Views:
    683
    gaurav kashyap
    Oct 31, 2008
  4. gaurav kashyap

    open a shell prompt froma python program

    gaurav kashyap, Oct 30, 2008, in forum: Python
    Replies:
    8
    Views:
    269
    Lawrence D'Oliveiro
    Nov 1, 2008
  5. Replies:
    0
    Views:
    188
Loading...

Share This Page