os.system vs. Py2Exe
export at hope.cz
Fri Oct 15 16:50:28 CEST 2004
"Michael P. Dubner" <dubnerm-news at mail.ru> wrote in message news:<mailman.4536.1097186371.5135.python-list at python.org>...
> Lad wrote:
> >I used Py2exe to compile my script( I use XP).
> >The compiled script works OK on my XP where Python is installed.
> >But when I install the compiled exe to another computer,
> >causes the following error:
> >Bad file or command name
> >Any help would be appreciated.
> Check if
> os.system('start /wait File.txt')
> is working under Win9x.
> It's for sure will work under WinNT+
os.system('start /wait File.txt') WORKS!! Thanks a lot
More information about the Python-list