Attempt Windows and PM2 fix again

This commit is contained in:
00Fjongl 2024-08-07 19:01:57 -05:00
parent 20a32288ad
commit 976513b851
2 changed files with 5 additions and 5 deletions

View file

@ -35,7 +35,7 @@ for (let i = 2; i < process.argv.length; i++)
// Handle setup on Windows differently from platforms with POSIX-compliant shells.
// This should run the server as a background process.
else if (process.platform === "win32")
exec('START /MIN "" "node backend.js"', (error, stdout) => {
exec('START /MIN "" node backend.js', (error, stdout) => {
if (error) throw error;
console.log(stdout);
});