def execv():
if before_exec_func:
before_exec_func()
for p in os.environ['PATH'].split(':'):
path = os.path.join(p, command[0])
if os.path.exists(path) and os.access(path, os.X_OK):
os.execv(path, command)
Should this not return the os.execv? it seems like it will call it for multiple hits in the path.
Line 102 of process.py
Should this not return the
os.execv
? it seems like it will call it for multiple hits in the path.