1
0
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:
playX
2021-12-13 21:18:12 +03:00
committed by GitHub
parent d5c0bdf954
commit cb4c67588c
5 changed files with 184 additions and 42 deletions

View File

@ -136,3 +136,7 @@ pub fn getuid() int {
pub fn execvp(cmd string, args []string) ? {
panic('os.execvp() is not available on JS backend')
}
pub fn stdin_resume() {
#$process.stdin.resume();
}