Running external programs in atom


I am writing a maven integration package for atom. Clearly, I will need to run maven, but how should I invoke the process. How do I use coffeescript to run an external program either in the background or in an integrated command line.



@James_Parsons suggest you take a look at I do all sorts of “running external programs” in that package, maybe you can borrow some concepts / code.


You don’t use coffeescript. You use node. Search for child_process in the node docs.


If you want to be able to build your project in github Atom, you should check out the build package - which I wrote.

I’m quite certain you should be able to build your maven project using an .atom-build.json where you can specify how it should build.

If you want to make a PR for Maven support, I’d be happy to take a look at it.