import subprocess
import sys
print(sys.executable)
#启动xampp
subprocess.Popen('"G:\\xampp\\xampp-control.exe"');
#启动vscode
subprocess.Popen('"F:\Program Files\Microsoft VS Code\Code.exe"');
#启动navicat
subprocess.Popen('"F:\\Program Files\\PremiumSoft\\Navicat Premium 15\\navicat.exe"');
#启动apipost
subprocess.Popen('"G:\Program Files\Apipost\Apipost.exe"');
#启动git
subprocess.Popen('"F:\Program Files\Git\git-bash.exe"');
#启动mysql
subprocess.Popen('"F:\\BaiduNetdiskDownload\\mysql-8.4.0-winx64\\bin\\mysqld.exe"');
#启动openvpn
subprocess.Popen('"C:\Program Files\OpenVPN\\bin\openvpn-gui.exe" --connect csoffice.ovpn');
folder_path = 'G:\\xampp\htdocs'
subprocess.Popen(['explorer', folder_path])