Home Download Buy Blog Forum Support

How to launch build task in the background

How to launch build task in the background

Postby remy97 on Mon Jan 16, 2012 9:47 pm

Hey folks,

I have a build system file created to launch a Node.js express app inside a linux terminal window. Since this is not an actual source build task but rather an application launch tool, I need it to be executed in the background and not wait for it to exit. The build results pane should not pop up and 'Cancel Build' not enabled. This way I can execute further build tasks (like unit tests) while the Node.js app is still running.

I looked everywhere but can't seem to find a way to do this. Help would be greatly appreciated. Here is what I have thus far:

Code: Select all
    "working_dir": "$project_path",
    "selector": "source.js",
        "cmd": ["gnome-terminal", "-x", "bash", "-i", "-c", "node app.js; echo -done-; read"]
Posts: 1
Joined: Mon Jan 16, 2012 8:59 pm

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 21 guests