Are you sure this bash script does what you think it does ? $ nonexistentcommand & echo "nonexistentcommand is working" [1] 14089 nonexistentcommand is working nonexistentcommand : commande introuvable
On Sunday, 18 August 2013 23:52:37 UTC+2, Mark Hahn wrote: > > When I run this bash script ... > > #!/bin/bash > tail -f log & > echo "tail is working" >> log > > it prints out "tail is working" as expected. > > My question is how can I do the same thing with a node command-line > script? I've tried everything but I can't come up with anything that > works. Most of my tries hang with the child_process never returning. > > By node command-line script I mean a file like this ... > > #!/usr/bin/env node > console.log "I'm a command-line script" > > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
