DEV Community

Discussion on: Create Node Command line App

Collapse
 
austincunningham profile image
Austin Cunningham

Correct fs would work as well,I don't generally think about Windows these days. childprocess also has an option to for shell which can you can run the command from a windows shell, but you would have to handle the os detection , so fs is a better option.