about summary refs log tree commit diff
path: root/pkgs/tools/X11/xpra/fix-122159.patch
blob: 5fe2ce3892fd8562a4400146f58f5df4022d777c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/xpra/scripts/main.py b/xpra/scripts/main.py
index 58c8bf6464..36f4b3cd3d 100755
--- a/xpra/scripts/main.py
+++ b/xpra/scripts/main.py
@@ -389,11 +389,7 @@ def run_mode(script_file:str, cmdline, error_cb, options, args, mode:str, defaul
         "seamless", "desktop", "shadow", "shadow-screen", "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, user=getuid()!=0)
     configure_env(options.env)
     configure_logging(options, mode)