When using a tool managed using aftman, the exit code of the tool is not passed through (which causes problems such as https://github.com/rojo-rbx/rojo/issues/651)
It is however correctly handled in foreman
PS C:\Users\Development\Documents\rojo> C:\Users\Development\.aftman\bin\rojo.exe sourcemap
[ERROR rojo] Rojo project referred to a file using $path that could not be turned into a Roblox Instance by Rojo.
Check that the file exists and is a file type known by Rojo.
Project path: C:\Users\Development\Documents\rojo\default.project.json
File $path: src/shared
PS C:\Users\Development\Documents\rojo> $LASTEXITCODE
0
PS C:\Users\Development\Documents\rojo> C:\Users\Development\.foreman\bin\rojo.exe sourcemap
[ERROR rojo] Rojo project referred to a file using $path that could not be turned into a Roblox Instance by Rojo.
Check that the file exists and is a file type known by Rojo.
Project path: C:\Users\Development\Documents\rojo\default.project.json
File $path: src/shared
PS C:\Users\Development\Documents\rojo> $LASTEXITCODE
1
When using a tool managed using aftman, the exit code of the tool is not passed through (which causes problems such as https://github.com/rojo-rbx/rojo/issues/651) It is however correctly handled in foreman