marklogic-community / slush-marklogic-node

Slush generator for a MarkLogic/node project
https://github.com/marklogic-community/slush-marklogic-node/wiki
Other
40 stars 28 forks source link

Running slush from within an existing Roxy project 'hangs' #262

Closed grtjn closed 8 years ago

grtjn commented 8 years ago

Roxy will (try to) show the warning Running ml new from within a Roxy project is not recommended. Continue? [yN], and ask to confirm if you want to continue, but the warning is not passed through by slush, nor can you enter input. So effectively it hangs without apparent reason.

We should add the same detection, or leverage the 'headless' flag that should by now be available in Roxy master..

grtjn commented 8 years ago

Warning comes from ml script, which doesn't handle the headless flag. I found an alternative, just make child process inherit stdin..