Switch to using xvfb-run
This commit is contained in:
parent
6d9fdb984b
commit
e6736842e9
1 changed files with 4 additions and 2 deletions
|
@ -55,8 +55,10 @@ Future<void> runDetachedProton(
|
|||
List<String> args = ["run", command];
|
||||
args.addAll(argx);
|
||||
|
||||
StateMachine.PROC = await Process.start(settings.getProtonExecutablePath(),
|
||||
args, // Run arbitrary command with arguments
|
||||
StateMachine.PROC = await Process.start(
|
||||
"xvfb-run",
|
||||
["--auto-servernum", settings.getProtonExecutablePath()] +
|
||||
args, // Run arbitrary command with arguments
|
||||
environment: env,
|
||||
workingDirectory: workingDir,
|
||||
mode: ProcessStartMode.normal);
|
||||
|
|
Loading…
Reference in a new issue