system command

J

Jack B.

I am trying to execute a system command within my python/Tkinter
program, but I do not want to wait for it to exit. It will launch a
different Tkinter program to be run at the same time. This seems like
it should be simple, but I cannot find a way to do it. Help please,
thanks!

In Perl, this would be very simple. But perhaps it is simple in
Python and I just have not found it yet.

Ralph P.
 
L

Lee Harr

I am trying to execute a system command within my python/Tkinter
program, but I do not want to wait for it to exit. It will launch a
different Tkinter program to be run at the same time. This seems like
it should be simple, but I cannot find a way to do it. Help please,
thanks!

In Perl, this would be very simple. But perhaps it is simple in
Python and I just have not found it yet.


How about using ...

import os
os.system('differentprogram &')

?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,197
Messages
2,571,040
Members
47,634
Latest member
RonnyBoelk

Latest Threads

Top