You could always do:
p = Popen ('../relative/path/to/executable.exe')
stdout, stderr = p.communicate()
Or you could hard-code an absolute path in there, but be sure to check if the file exists first or to catch any exceptions thrown by the popen
calls (more pythonic).
LE:
Please note that there is a cwd
parameter on the Popen
's constructor, but the executed program's current directory will be changed to that, it won't look for the executable in there.