mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-10 13:11:50 +09:00
command.js: pipe flushing after execution
appexec.js: vdisk mounting
This commit is contained in:
@@ -802,6 +802,10 @@ shell.execute = function(line) {
|
||||
}
|
||||
}
|
||||
serial.println("[shell.execute] final retvalue: "+retValue)
|
||||
|
||||
// flush pipes
|
||||
while (1) { if (undefined === shell.removePipe()) break }
|
||||
|
||||
return retValue
|
||||
}
|
||||
shell.pipes = {} // syntax: _G.shell.pipes[name] = contents; all pipes are named pipes just like in Windows
|
||||
|
||||
Reference in New Issue
Block a user