Skip to content

Commit 910bb6f

Browse files
committed
Add quotation to 7za path
1 parent b57b056 commit 910bb6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/gzzip/gzzip.gml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function gzzip(argument0, argument1) {
44
var destname = file_directory + filename_change_ext(filename_name(argument1), "")
55
if (os_type = os_windows) {
66
file_copy(argument0, destname)
7-
execute_program("cmd", current_directory + "7za.exe a dummy -tgzip -so \"" + destname + "\" > \"" + argument1 + "\"", true)
7+
execute_program("cmd", "\"" + current_directory + "7za.exe\" a dummy -tgzip -so \"" + destname + "\" > \"" + argument1 + "\"" + " 2>&1", true)
88
file_delete(destname)
99
}
1010
else {

0 commit comments

Comments
 (0)