shell
æåã«çã let spawn = require('child_process').spawn; // 模ç¯è§£çï¼ãã¶ãï¼ let p = spawn( 'echo', [ 'hoge' ], { 'shell': true } ); p.stdout.on( 'data', payload => console.log( `[spawn/stdout]: ${payload.toString().trim()}` ) ) p.stderr.oâ¦
ï¼â»ä»åã¯ãªã¢ã«ã«Linuxã®å ¥éè¬åº§ãåè¬ãã¦ããç¨åº¦ã®æ¹ã¸ãã£ã¦æãã®tipsã¿ãããªå½¢ã«ãªãã¾ãããï¼ãããã£ããããªã¼ã«ã 1 2 3 4 5 6 7 8 9 ã¨ãããã¡ã¤ã«åã§åããã¼ã¿ã®æ¸ãè¾¼ã¾ããããã¹ããã¡ã¤ã«ããã£ãã¨ãã¾ãããã % /bin/ls 1 2 3 4 5â¦