We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ea9d3e commit ef226a9Copy full SHA for ef226a9
dvc/daemon.py
@@ -3,7 +3,6 @@
3
import inspect
4
import logging
5
import os
6
-import platform
7
import sys
8
from subprocess import Popen # nosec B404
9
from typing import List
@@ -93,13 +92,8 @@ def _spawn_posix(cmd, env):
93
92
sys.stderr.close()
94
os.closerange(0, 3)
95
96
- if platform.system() == "Darwin":
97
- # workaround for MacOS bug
98
- # https://github.com/iterative/dvc/issues/4294
99
- _popen(cmd, env=env).communicate()
100
- else:
101
- os.environ.update(env)
102
- main(cmd)
+ os.environ.update(env)
+ main(cmd)
103
104
os._exit(0) # pylint: disable=protected-access
105
0 commit comments