On Sun, Jul 8, 2012 at 3:18 PM, José F. Romaniello
<[email protected]> wrote:
> I was wondering what if you call exec and the result of the call, which has
> stdout, stdin, stderr.. you pipe to the current process stdout, stdin and
> stderr:
>
> var vi = exec("vi...
> vi.stdout.pipe(process.stdout)
> process.stdin.pipe(process.stdin)
> vi.stderr.pipe(process.stderr)
>
> Does this works? Why not?

No, because you're still dealing with pipes - what vi sees is not a tty.

-- 
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

Reply via email to