njsetn:standard_input_and_standard_output
Differences
This shows you the differences between two versions of the page.
| njsetn:standard_input_and_standard_output [2016/03/20 18:56] – created leo | njsetn:standard_input_and_standard_output [2016/03/20 18:57] (current) – leo | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| </ | </ | ||
| - | Le standrad | + | Le standard |
| === stdout === | === stdout === | ||
| Line 32: | Line 32: | ||
| } | } | ||
| + | // écouteur sur l' | ||
| process.stdin.on(' | process.stdin.on(' | ||
| reponses.push(data.toString().trim()); | reponses.push(data.toString().trim()); | ||
| Line 41: | Line 42: | ||
| }); | }); | ||
| + | // écouteur sur la sortie du processus | ||
| process.on(' | process.on(' | ||
| process.stdout.write(" | process.stdout.write(" | ||
njsetn/standard_input_and_standard_output.1458496566.txt.gz · Last modified: 2016/03/20 18:56 by leo