Merge pull request #3187 from nukisman/patch-5

Fix static JS code: open process mode in support_system_file_popen
This commit is contained in:
André Videla 2024-01-05 13:46:34 +00:00 committed by GitHub
commit 3c8fc8bafb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,8 @@ function support_system_file_popen (cmd, m) {
case "r": case "r":
io_setting = ['ignore', write_fd, 2] io_setting = ['ignore', write_fd, 2]
break break
case "w", "a": case "w":
case "a":
io_setting = [write_fd, 'ignore', 2] io_setting = [write_fd, 'ignore', 2]
break break
default: default: