I tried many many things with no success.
Seems like when using exec, shell_exec, system php functions, it invokes the CMD on Windows when using a MSYS system. Symfony Process makes it possible to run things on Windows background, but not when we are talking about using MSYS. I tried escaping " and \ and /, alsto tried to convert windows path to cygpath, tried to invoke winpty... A lot of things with no success, but if you're reading this and want to try, good luck.
I will let this for someone more skilled to try to solve. It is not a simple thing despite it looks like.
I tried many many things with no success.
Seems like when using
exec,shell_exec,systemphp functions, it invokes the CMD on Windows when using a MSYS system. Symfony Process makes it possible to run things on Windows background, but not when we are talking about using MSYS. I tried escaping " and \ and /, alsto tried to convert windows path to cygpath, tried to invoke winpty... A lot of things with no success, but if you're reading this and want to try, good luck.I will let this for someone more skilled to try to solve. It is not a simple thing despite it looks like.