andy-portmen / native-client

Native Messaging component for Windows, Linux, and Mac OS that is written in NodeJS.
https://add0n.com/open-in.html
Mozilla Public License 2.0
727 stars 474 forks source link

[External Application Bundle] - Little Problem #39

Closed cyberpunkbln closed 7 years ago

cyberpunkbln commented 7 years ago

Hello,

in this application i have the problem, that when a program (youtube-dl) calls another second program (ffmpeg), the second program popup in a new cmd-window. That disturbs.

Give it a trick or an choice in the addon, that this popup came minimized or in the background like the called mother-tasks? An option that i can encapsulate the called mother-prg in a root-prg? or so?

thx

andy-portmen commented 7 years ago

Shouldn't the first executable handles this correctly?

cyberpunkbln commented 7 years ago

Hi,

yes the first exe (i call this the mother-exe :)) handles it correctly, but when this mother-exe calls a daugter-exe a rough-window-shell (cmd) popup with the raw called name (youtube-dl -> extract or convert audiostreams calls ffmpeg.exe).

I think the daugter-exe cannot handle an call without an cli-cmd around the hole process. When i call this in a cmd or powershell terminal then its don't popup why a terminal is there thats handle that ouput.

I test with a small call.cmd to handle this with a call that only popup once. But it will be great when it gives a solution in the application.

cyberpunkbln commented 7 years ago

Is it possible to bring an option to call an Program within an terminal (on windows cmd,powershell)? A pre called Program so i say.

andy-portmen commented 7 years ago

FAQ10 maybe? https://add0n.com/external-application-button.html

cyberpunkbln commented 7 years ago

Hello, yes was an option but then not cmd.exe compatible escaping of signs ala ampersand and with faq10 i cannot deliver youtube-playlist[HREF].

andy-portmen commented 7 years ago

I am not following. Please explain what exactly you want to do

cyberpunkbln commented 7 years ago

Oh sorry i have read this answer before the others, your last update resolve this problem,too :) .