Execute a batch file in nextjs
Answered
Pacific herring posted this in #help-forum
Pacific herringOP
I have a batch file that is outside the nextjs folder.
Project
L Game Server
L server.bat
L NextJS Server
L page.tsx where I have button to turn server.bat online
I'm using exec function but looks like it doesn't work? nothing happens . I'm wondering if there is something else I have to use for nextjs.
Project
L Game Server
L server.bat
L NextJS Server
L page.tsx where I have button to turn server.bat online
I'm using exec function but looks like it doesn't work? nothing happens . I'm wondering if there is something else I have to use for nextjs.
1 Reply
Pacific herringOP
fixed
Answer