Hi,
I am curious if there is a renpy command line that could be used to open a .exe file.
For example renpy already has the option to open html pages.
Would it instead be possible to set a menu item that might close the current game bypassing the are you sure option and run an exe file.
This may seem an odd request, but in steam DLC is created by adding the dlc files to the game folder, it however doesnt allow for a stand alone play button. So if i want to release a mini stand alone game as dlc, there is currently no way to play that game. So instead ideally, if i could have a main menu item that can run that .exe file that would be ideal.
Thanks.
Hope that makes sense.
Can a menu link open an .exe
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Can a menu link open an .exe
Actually, the subprocess module is probably better than using os.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
Re: Can a menu link open an .exe
Noted. It came up when I googled this but os examples seemed so much simpler 
Who is online
Users browsing this forum: No registered users
