public
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
sys: require('sys')
 
sys.debug 'outside listener'
p: process.createChildProcess("./coffee", [])
p.addListener 'exit', ->
sys.debug 'before'
callback('exit')
sys.debug 'after'
 
callback: (js) ->
sys.p(js)
 
DEBUG: outside listener
DEBUG: before
"exit"
DEBUG: after

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.