How to run Atom in background, execute some command on file and close from CMD?


#1

I need basically to call Atom from CMD (Windows), execute a formatting command. save the file and close Atom. How to do that? Thank you.


#2

I’m not sure Atom is the best utility to do this. What sort of formatting command are you trying to apply? It is likely that the formatting command is itself a command line utility that Atom is calling.