簡體   English   中英

是否可以從Powershell腳本運行Node js文件?

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM