[英]How to run node js script from powershell script and use the output of node js script in powershell script?
[英]Is this possible to run node js file from powershell script?
我進行了很多搜索,但直到現在仍找不到任何東西。 我有一個ps1文件,從那里我想運行node js文件。這可能嗎?
是的,可能。 將以下代碼放入.ps1
文件中:
node /path/to/file.js
or
node /path/to/file.js & # for daemon
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.