mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-19 01:01:59 +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":
|
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user