Question: How to execute an EXE with Python?

Fausto Arinos de A. Barbuto fbarbuto at
Tue Aug 27 06:05:00 CEST 2002

Hi everybody,

    I need to write a Python script to call and execute a DOS
    .EXE application. How do I do that? I know that there is
    os.execv(path, args) and similars, but can't get the right
    syntax. Suppose I have a C:/Progs/MyProg.EXE binary
    that I want to execute. What would then be the correct

    Thanks so much in advance,


More information about the Python-list mailing list