mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: add support for signal handling on JS backend (#12818)
This commit is contained in:
@ -94,6 +94,10 @@ pub fn (mut p Process) stdin_write(s string) {
|
||||
#p.val.pid.stdin.write(s)
|
||||
}
|
||||
|
||||
pub fn (mut p Process) stdin_resume() {
|
||||
#p.val.pid.stdin.resume()
|
||||
}
|
||||
|
||||
// todo(playX): probably does not work
|
||||
|
||||
// will read from stdout pipe, will only return when EOF (end of file) or data
|
||||
|
Reference in New Issue
Block a user