mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-18 16:51:51 +03:00
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:
commit
3c8fc8bafb
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user