mirror of
https://codeberg.org/TicklishHoneyBee/CLIte.git
synced 2026-03-11 09:04:37 +00:00
fix bug when redirecting stdout to /dev/null
This commit is contained in:
parent
9ec6e0e26a
commit
e27dc7bddf
1 changed files with 1 additions and 1 deletions
|
|
@ -543,7 +543,7 @@ clite.commands.load('sh',function(args,env,io) {
|
|||
exec.cfg.closout = false;
|
||||
}
|
||||
exec.io.stdout = stdio.open('/dev/null',stdio.flags.O_WRONLY);
|
||||
exec.cfg.closin = true;
|
||||
exec.cfg.closout = true;
|
||||
}
|
||||
},
|
||||
stderr:{
|
||||
|
|
|
|||
Loading…
Reference in a new issue