execute

Benjamin musiccomposition at gmail.com
Sun Mar 9 23:05:36 EDT 2008


On Mar 9, 4:22 pm, Gif <pavloutefk... at gmail.com> wrote:
> i'm trying to execute a file without replacing the current process,
> but after searching the help file, documentations and the web, i can't
> a way of doing that.
>
> os.exec*() will close the current program.
Have a look at the subprocess module.
>
> ps: by executing i mean like typing "mspaint" in run dialog.. it's not
> a python file




More information about the Python-list mailing list