This commit is contained in:
2024-05-05 21:28:53 +08:00
parent 9af96a2061
commit 0920696444
2 changed files with 2 additions and 1 deletions

View File

@ -242,6 +242,7 @@ class Unp4kCModel extends _$Unp4kCModel {
final exec = "$execDir\\unp4kc.exe";
final r = await Process.run(exec, args);
if (r.exitCode != 0) {
Process.killPid(r.pid);
throw Exception(
"error: ${r.exitCode} , info= ${r.stdout} , err= ${r.stderr}");
}