result = execSync('node -v');. that will synchronously execute the given command line and return all stdout'ed by that command text. ps. Sync is wrong.
確定! 回上一頁