I’m starting to create a TFS (Team Foundation Version Control) package, and to do so, I use tf.exe console application. I’m using
child_process.spawn to call it, but doing so, the result is always the console interface, instead of the visual. For instance, when I do
command = 'C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE\\tf.exe' args = ["history", filePath] history = spawn(command, args)
I can get the results with
history.stdout.on "data", (data) -> console.log "stdout: " + data
But, in this case (
history argument), I would like to show the visual interface that tf.exe provides, instead of intercepting the
stdout and doing it myself inside Atom.
history argument has a
/noprompt parameter, but I’m not using it.
I don’t know if this is possible (call windowed app using
child_process) or if I should use another API. I’m sorry, but my experience with js/cs/node is basically from using and developing small packages for Atom
Thanks in advance