Skip to content

Commit

Permalink
Merge pull request #3187 from nukisman/patch-5
Browse files Browse the repository at this point in the history
Fix static JS code: open process mode in support_system_file_popen
  • Loading branch information
andrevidela committed Jan 5, 2024
2 parents 915b340 + bd882c5 commit 3c8fc8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion support/js/support_system_file.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ function support_system_file_popen (cmd, m) {
case "r":
io_setting = ['ignore', write_fd, 2]
break
case "w", "a":
case "w":
case "a":
io_setting = [write_fd, 'ignore', 2]
break
default:
Expand Down

0 comments on commit 3c8fc8b

Please sign in to comment.