Skip to content

Instantly share code, notes, and snippets.

@jpleau
Last active July 1, 2016 00:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpleau/ef42036eb3cf821bab9cfdb76cc556bd to your computer and use it in GitHub Desktop.
Save jpleau/ef42036eb3cf821bab9cfdb76cc556bd to your computer and use it in GitHub Desktop.
ok 46 misc - uv.hrtime
ok 47 misc - test_getpid
"prepare" uv_prepare_t: 0x025f5eb0
ok 48 prepare-check-idle-async - simple prepare
"check" uv_check_t: 0x025f5eb0
"timeout" uv_timer_t: 0x025f5f30
ok 49 prepare-check-idle-async - simple check
"idle" uv_idle_t: 0x025f5eb0
ok 50 prepare-check-idle-async - simple idle
ok 51 prepare-check-idle-async - simple async
ok 52 process - test disable_stdio_inheritance
{ pid = 17657, handle = uv_process_t: 0x025f6070 }
"stdout" { chunk = "Hello World\n" }
"exit" { code = 0, signal = 0 }
ok 53 process - process stdout
{ pid = 17658, handle = uv_process_t: 0x025f5eb0 }
"exit" uv_process_t: 0x025f5eb0 { status = 0, signal = 2 }
ok 54 process - spawn and kill by pid
{ pid = 17659, handle = uv_process_t: 0x025f5eb0 }
"exit" uv_process_t: 0x025f5eb0 { status = 0, signal = 15 }
ok 55 process - spawn and kill by handle
ok 56 process - invalid command
{ pid = 17661, handle = uv_process_t: 0x025f5eb0 }
"stdout" { chunk = "Hello World" }
"exit" { code = 0, signal = 0 }
ok 57 process - process stdio
Sending child SIGINT
"exit" { signal = 0, code = 7, pid = 17662 }
ok 58 signal - Catch SIGINT
{ server = uv_tcp_t: 0x025f7510, address = { ip = "0.0.0.0", family = "inet", port = 58969 } }
{ client = uv_tcp_t: 0x025f5f70 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment