this is the code that I wrote:
import subprocess
rocket_league_path = 'D:\rocketleague\Binaries\Win64\RocketLeague.exe'
subprocess.Popen(rocket_league_path)
this is the error it shows to me:
Traceback (most recent call last):
File "c:\Users\Marco\Desktop\Untitled-1.py", line 7, in <module>
subprocess.Popen(rocket_league_path)
File "C:\Users\Marco\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 966, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Marco\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1435, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] Cannot find the specified file
I have tried with other applications and it works with all except Rocket League