2022-05-20 12:32:42 +00:00
|
|
|
diff --git a/xpra/scripts/main.py b/xpra/scripts/main.py
|
2023-03-03 15:11:13 +00:00
|
|
|
index 031a41f9e..6232ba830 100755
|
2022-05-20 12:32:42 +00:00
|
|
|
--- a/xpra/scripts/main.py
|
|
|
|
+++ b/xpra/scripts/main.py
|
2023-03-03 15:11:13 +00:00
|
|
|
@@ -377,11 +377,7 @@ def run_mode(script_file, cmdline, error_cb, options, args, mode, defaults):
|
|
|
|
"seamless", "desktop", "shadow", "expand",
|
|
|
|
"upgrade", "upgrade-seamless", "upgrade-desktop",
|
|
|
|
) and not display_is_remote and use_systemd_run(options.systemd_run):
|
|
|
|
- #make sure we run via the same interpreter,
|
|
|
|
- #inject it into the command line if we have to:
|
|
|
|
argv = list(cmdline)
|
|
|
|
- if argv[0].find("python")<0:
|
|
|
|
- argv.insert(0, "python%i.%i" % (sys.version_info.major, sys.version_info.minor))
|
|
|
|
return systemd_run_wrap(mode, argv, options.systemd_run_args)
|
2022-05-20 12:32:42 +00:00
|
|
|
configure_env(options.env)
|
|
|
|
configure_logging(options, mode)
|