Invoking a external program from a script

Charlie Derr charlie at intelligenesis.net
Fri Mar 31 22:21:10 CEST 2000


It can't possibly be as simple as dropping the start can it?

os.system('converter file-in file-out)

Since nobody else has responded yet, i figured it was worth suggesting.

YMWPS :-]

	~c

Olav Viken wrote:
> 
> I'm trying to make a python script to do a file-converting job for me on a
> webserver. To do the converting I use a Visual Basic app. with a command
> line interface. When run from the command line it works fine.
> The syntax I use in the python script is:
> os.system('start converter file-in file-out')
> The converting is actually done, but the program "converter" do not exit,
> (it remains in memory) and the script stops.
> If anyone can help me in the right direction I would be thankful
> 
> Best regards Olav
> .



More information about the Python-list mailing list