child_process#fork invokes incorrectly

\cc @scf2k 

close #386