os.spawnlpe() has the following syntax: os.spawnlpe(mode, file, ... /* argv */, env) Python 3.9 does not allow current syntax and complains on missing argv[0]. --- scripts/Xspice | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Xspice b/scripts/Xspice index 927dcb1..b1244b6 100755 --- a/scripts/Xspice +++ b/scripts/Xspice @@ -355,7 +355,7 @@ else: args.vdagent_udcs_path]) if args.xsession: environ = os.environ - os.spawnlpe(os.P_NOWAIT, args.xsession, environ) + os.spawnlpe(os.P_NOWAIT, args.xsession, args.xsession, environ) try: xorg.wait() -- 2.31.1
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature