You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shims created for .cmd and .bat files don't call cmd.exe with the required flags to actually run the script. To run a script, the script path needs to be preceded with the /C (or /K) flags. I have attached a sample batch file shim generated by pnpm, but the issue also affects the PowerShell and shell scripts.
The text was updated successfully, but these errors were encountered:
kcastellino
changed the title
Shims created for batch scripts don't actually run the batch script
Shims created for batch scripts on Windows don't actually run the batch script
Jun 24, 2023
kcastellino
changed the title
Shims created for batch scripts on Windows don't actually run the batch script
Shims created for batch scripts on Windows don't run the batch script
Jun 24, 2023
Shims created for
.cmd
and.bat
files don't callcmd.exe
with the required flags to actually run the script. To run a script, the script path needs to be preceded with the/C
(or/K
) flags. I have attached a sample batch file shim generated by pnpm, but the issue also affects the PowerShell and shell scripts.The
cmd
call in line 6 (as well as line 3) above needs to include the/C
flag, as below:The text was updated successfully, but these errors were encountered: