TEAMuP-dev / HARP

A sample editing application allowing for hosted, asynchronous, remote processing of audio with machine learning by routing through Gradio endpoints.
BSD 3-Clause "New" or "Revised" License
51 stars 3 forks source link

CMD window appears in Windows #170

Closed bryan-pardo closed 3 months ago

bryan-pardo commented 4 months ago

When the gradio client reaches out to the web, a CMD window appears on the screen and stays on the screen until the gradio client either gets an answer or times out. This is ugly. Can we hide this window?

This behavior is in Harp 1.1 and 1.2.X

NathanPruyne commented 4 months ago

6044c68 should ensure no window pops up for a call to gradiojuce_client.exe specifically, but the root cause of this is that a call to std::system will always generate this window (regardless of program called). It seems like the way around this would be to change that call, which is already mentioned in the code and is now in #172.

bryan-pardo commented 3 months ago

This was fixed!