mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 07:35:38 +00:00
The %STARTDIR% variable could not be combined with running ES-DE in the background while launching games on Linux and macOS
This commit is contained in:
parent
bb6edceb1e
commit
fd1da398ac
|
@ -86,6 +86,8 @@ namespace Utils
|
||||||
// instance no output from the command is captured and no real error handling is
|
// instance no output from the command is captured and no real error handling is
|
||||||
// implemented. It should therefore only be used when absolutely necessary.
|
// implemented. It should therefore only be used when absolutely necessary.
|
||||||
if (runInBackground) {
|
if (runInBackground) {
|
||||||
|
if (startDirectory != "")
|
||||||
|
command = "cd " + startDirectory + " && " + command;
|
||||||
LOG(LogDebug)
|
LOG(LogDebug)
|
||||||
<< "Platform::launchGameUnix(): Launching game while keeping ES-DE running "
|
<< "Platform::launchGameUnix(): Launching game while keeping ES-DE running "
|
||||||
"in the background, no command output will be written to the log file";
|
"in the background, no command output will be written to the log file";
|
||||||
|
|
Loading…
Reference in a new issue