Skip to content

Commit 644ba03

Browse files
authored
Do not hardcode path to nohup (#1278)
Fix #1277.
1 parent 4b6289f commit 644ba03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

watcher/straight_watch_nohup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# using the Python in the virtualenv, we'll find that out right away,
1414
# since we are using the same execution path that will eventually be
1515
# used for the actual command run by nohup.
16-
os.execv("/bin/nohup", sys.argv)
16+
os.execvp("nohup", sys.argv)

0 commit comments

Comments
 (0)