Running external programs in atom


#1

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.

Thanks.


#2

@James_Parsons suggest you take a look at https://github.com/joefitzgerald/go-plus. I do all sorts of “running external programs” in that package, maybe you can borrow some concepts / code.


#3

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


#4

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.