setEncoding('utf8'); if you want text chunks child.stdout.on('data', ... can set options.stdio if you want it to go elsewhere let stdout = execSync('ls');.
確定! 回上一頁