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 6c24734 commit 4a63d8cCopy full SHA for 4a63d8c
1 file changed
src/omnipkg/cli.py
@@ -1949,6 +1949,14 @@ def main():
1949
if args.tests:
1950
safe_print(_(" Running tests: {}").format(", ".join(args.tests)))
1951
1952
+ if os.environ.get("OMNIPKG_DAEMON_WORKER") == "1":
1953
+ # Running inside daemon worker - stdout is JSON pipe.
1954
+ # Relaunch as independent process with real console.
1955
+ import ctypes
1956
+ env = os.environ.copy()
1957
+ env.pop("OMNIPKG_DAEMON_WORKER", None)
1958
+ subprocess.Popen(cmd, env=env, creationflags=0)
1959
+ return 0
1960
return subprocess.call(cmd)
1961
1962
elif args.command == "install":
0 commit comments