javascript - Command line node-webkit app -


i able create node-webkit (nw.js) application , able start command line arguments pass application itself. able run command release ./project , have launch gui passing directory cli argument node-webkit.

i've been able compile app far have no way of opening command line , passing completed callback command line after has closed.

how go creating command line interface desktop app built using node-webkit?

you can use following array of command line arguments.

// load native ui library. var gui = require('nw.gui'); var commands = gui.app.argv; 

Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -