- May
- 531
- 2
TCC 28.01.14 x64 Windows 10 [Version 10.0.19042.1237]
TCC Build 14 Windows 10 Build 19042
In the Flutter language (Beautiful native apps in record time) install on Windows, there is a flutter.bat file that does not run in TCC, though it does run in CMD. The issue appears to be related to this syntax (from Command Redirection, Pipes - Windows CMD - SS64.com):
commandA || commandB Run commandA, if it fails then run commandB
The specific code in the batch file is this:
I do have git installed and can find it with the WHERE command (and WHICH). But, in TCC, the batch file just exits here. If I modify the file and put an ECHO after that line, it never reaches it. This makes me suspect the issue may be related to the double pipe on that line.
I do not see this syntax anywhere in the help. Is this supposed to be supported? Do I need to enable some specific option for it? I think I already have most of the CMD options enabled.
Thanks.
TCC Build 14 Windows 10 Build 19042
In the Flutter language (Beautiful native apps in record time) install on Windows, there is a flutter.bat file that does not run in TCC, though it does run in CMD. The issue appears to be related to this syntax (from Command Redirection, Pipes - Windows CMD - SS64.com):
commandA || commandB Run commandA, if it fails then run commandB
The specific code in the batch file is this:
Code:
REM Test if Git is available on the Host
where /q git || ECHO Error: Unable to find git in your PATH. && EXIT /B 1
I do have git installed and can find it with the WHERE command (and WHICH). But, in TCC, the batch file just exits here. If I modify the file and put an ECHO after that line, it never reaches it. This makes me suspect the issue may be related to the double pipe on that line.
I do not see this syntax anywhere in the help. Is this supposed to be supported? Do I need to enable some specific option for it? I think I already have most of the CMD options enabled.
Thanks.