Patch runWine for windows
This commit is contained in:
parent
d4a772b6d2
commit
acb2263bd2
1 changed files with 1 additions and 2 deletions
|
@ -36,8 +36,7 @@ Future<void> runWine(String command, List<String> argx) async {
|
|||
environment: env,
|
||||
);
|
||||
else
|
||||
res = await Process.run(args[0], args.length > 1 ? args.sublist(1) : [],
|
||||
environment: {});
|
||||
res = await Process.run("cmd", ["/C"] + args, environment: {});
|
||||
|
||||
print('Exit code: ${res.exitCode}');
|
||||
print('stdout: ${res.stdout}');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue