optirun bash -c 'wine steam; while pgrep wine; do sleep 5; done'
I have been trying to replicate the following in a script:
# optirun bash
# wine steam
I have tried using
optirun bash -c "command"
but apparently wine spawns programs as a child process and then terminates which exits the bash shell with optirun on it. Is there a way to keep the child processes inside the same shell too?
Thanks!
]]>