child_process#fork invokes incorrectly

close #386