Fix Windows builds for 0.25.0 (#26)
This commit is contained in:
parent
fecd2df8c2
commit
222dc57a6f
|
|
@ -212,7 +212,7 @@ Future<String?> runPythonApp(List<String> args) async {
|
|||
var argvItems = args.map((a) => "\"${a.replaceAll('"', '\\"')}\"");
|
||||
var argv = "[${argvItems.isNotEmpty ? argvItems.join(',') : '""'}]";
|
||||
var script = pythonScript
|
||||
.replaceAll("{outLogFilename}", outLogFilename)
|
||||
.replaceAll("{outLogFilename}", outLogFilename.replaceAll("\\", "\\\\"))
|
||||
.replaceAll('{module_name}', pythonModuleName)
|
||||
.replaceAll('{argv}', argv);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue