Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run another graphical process from my app #267

Open
Weibn47 opened this issue Nov 15, 2024 · 0 comments
Open

Run another graphical process from my app #267

Weibn47 opened this issue Nov 15, 2024 · 0 comments

Comments

@Weibn47
Copy link

Weibn47 commented Nov 15, 2024

I have an app which has another graphical eboot.bin in the sandbox path, Is it possible to run that eboot.bin process as a child node? Can I also terminate the parent process and make that child node as the primary?

In windows perspective I'm trying to achieve something like this python code:

import subprocess
import os
import sys
import time

# Start the child process
child_process = subprocess.Popen(['notepad.exe'])  # Replace 'notepad.exe' with your desired program

# Wait for a moment to ensure the child process starts
time.sleep(2)

print("Parent process ID:", os.getpid())
print("Child process ID:", child_process.pid)

# Terminate the parent process
os._exit(0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant