Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
schemacs committed Oct 27, 2014
1 parent c3cf30b commit 84b5a2f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion supervisor/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,11 @@ def get_execv_args(self):
raise BadCommand("command is empty")

if "/" in program:
filename = program
if program.startswith('/'):
filename = program
else:
filename = os.path.join(self.config.directory, program)

try:
st = self.config.options.stat(filename)
except OSError:
Expand Down

0 comments on commit 84b5a2f

Please sign in to comment.