diff --git a/dvc/daemon.py b/dvc/daemon.py index b4623a6585..10dc40fd3b 100644 --- a/dvc/daemon.py +++ b/dvc/daemon.py @@ -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()