Merge pull request #2523 from efiop/daemon

daemon: use `sys.argv[0]` instead of `-m dvc`
This commit is contained in:
Ruslan Kuprieiev
2019-09-22 05:42:56 +03:00
committed by GitHub
+1 -1
View File
@@ -94,7 +94,7 @@ def daemon(args):
cmd = [sys.executable]
if not is_binary():
cmd += ["-m", "dvc"]
cmd += [sys.argv[0]]
cmd += ["daemon", "-q"] + args
env = fix_env()