Open MustaphaOuchen opened 7 months ago
I am not quite sure but to me it looks this is not a bug of IDEasy but a problem of MS DOS aka CMD Shell. In the latter case we can only try to search the web for a workaround but if we find none there is nothing we can do about it.
However, what we also should do is educate developers to use bash. This is a Windows specific issue but as we need git for windows installed every developer has a git-bash as prerequisite and therefore developers should stop using crappy old CMD and just get used to bash.
Expected behavior
As a user, I want to see the output when CMD is used.
Actual behavior
The output is not printed in the cmd console. but it can be still be redirected to a file or with the more command.
Steps to reproduce
You need a branch with the state of https://github.com/devonfw/IDEasy/issues/9
First lets try to reproduce expected behavior, which works when using bash.
With IDEasy
With simple bash: bash -c /d/projects/IDEasy/software/jmc/jmc.exe & diswon
Doing the steps above with cmd (replace bash with the location of bash.exe, use "", see screenshot) we do not get any output.
But, the output of the cmd will be shown when you use the 'more' command or you can still redirect it with '>' to a file.
Related/Dependent Issues
https://github.com/devonfw/IDEasy/issues/9
Affected version: