By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,587 Members | 1,731 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,587 IT Pros & Developers. It's quick & easy.

How to open a shell prompt from an existing shell prompt

P: n/a
Dear all.
On windows platform python 2.4,i can use os.startfile("filename") to
execute a file on a new command prompt

but on unix platform and python 2.3 what is the alternate for
executing a file like above in a new shell prompt
Oct 30 '08 #1
Share this Question
Share on Google+
3 Replies

P: n/a
reply please
Oct 30 '08 #2

P: n/a
Dear Tino,
I am using python 2.3.5. on POSIX system,I have the simple query as:

I log into the shell as root.Can i issue some command that will open
another terminal?(i.e I get a duplicate copy of the shell prompt
already opened)

Oct 30 '08 #3

P: n/a
Dear Tino,
There is no subprocess module in python 2.3.5.

My goal is:

1.Open a terminal window and login as root.

2.Issue some command in the terminal window that will open another
terminal,similar to the one already opened.

Am i clear now.
Oct 31 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.