Skip to content

Commit

Permalink
feat: detach process
Browse files Browse the repository at this point in the history
  • Loading branch information
Tchoupinax committed Nov 27, 2024
1 parent 835f7e1 commit f9e64ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/start-server.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { spawn } from "child_process";

export async function startIggyServer() {
const iggy = spawn("iggy-server");
const iggy = spawn("iggy-server", [], { detached: true });

iggy.stdout.on("data", data => {
console.log(`stdout: ${data}`);
Expand Down

0 comments on commit f9e64ae

Please sign in to comment.