0

I'm trying to start monetdbd from node like

var exec = require('child_process').exec; exec('monetdbd start ~/my-dbfarm/'); 

But it stops runing my code after exec(...).

1 Answer 1

0

try

nohup monetdbd start ~/my-dbfarm/ & 

'nohup' indicates that if the owner hangs up, it will still run

'&' indicates that the process should run in the background

if that doesn't work take a look at:

NodeJs execute command in background and forget

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.