Skip to content

Commit

Permalink
fixed spawn of flask server to work on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasgabriel18 committed Apr 12, 2024
1 parent 457ed95 commit f7fe2fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function startFlaskServer() {
? "./api/app.py"
: "./api/app.py";

flaskServerProcess = childProcess.spawn("python3", [pythonPath], {
flaskServerProcess = childProcess.spawn("python", [pythonPath], {
detached: false,
stdio: ["ignore", "pipe", "pipe"],
});
Expand Down

0 comments on commit f7fe2fd

Please sign in to comment.