Re: Need a cross-platform way to execute binary

2007-02-10 Thread Gabriel Genellina
En Sat, 10 Feb 2007 08:48:31 -0300, techtonik <[EMAIL PROTECTED]> escribió: > On Feb 10, 12:03 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> >> > Here "executable" means file that >> > could be be launched by system() (if there are any other ways - I'd be >> > happy to know them) This is a very

Re: Need a cross-platform way to execute binary

2007-02-10 Thread techtonik
On Feb 10, 12:03 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > > Does anybody know simple cross-platform method of probing if > > executable binary is available and launching it. > > > Problem no.1: test if executable file is available > > I'll take windows platform as the most relevant in

Re: Need a cross-platform way to execute binary

2007-02-10 Thread Gabriel Genellina
En Sat, 10 Feb 2007 06:03:40 -0300, techtonik <[EMAIL PROTECTED]> escribió: > Hello, everyb. > > Does anybody know simple cross-platform method of probing if > executable binary is available and launching it. > > > Problem no.1: test if executable file is available > I'll take windows platform a

Need a cross-platform way to execute binary

2007-02-10 Thread techtonik
Hello, everyb. Does anybody know simple cross-platform method of probing if executable binary is available and launching it. Problem no.1: test if executable file is available I'll take windows platform as the most relevant in this case. os.access() doesn't handle env PATHEXT and can't detect if