var tail = spawn('tail', ['-f', 'somefile.txt', '-n', '500']);
On Mon, Jun 25, 2012 at 1:45 PM, Adeel Qureshi <[email protected]>wrote:
> I am trying to pass some additional flags to a spawned child process
> e.g.
> var tail = spawn('tail', ['-f', 'somefile.txt']);
> I also want to add -n 500 lets say to get 500 lines to start off instead
> of default 10 lines
>
> --
> 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
>
--
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