TIC-80: Trace output redirecting to file is not working while using more arguments.
tic > out.txt- workingtic > out.txt -code source.lua- not workingtic > out.txt source.tic- not workingtic source.tic -code source.lua > out.txt- not working
When using more arguments the output file is created, but is empty.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (6 by maintainers)
Sorry for reopen the issue. Just want to share the solution for this problem. The powershell should support redirecting command โ>โ but it doesnโt work with TIC. However I found this command working for TIC in powershell:
tic.exe -code test.lua | Out-File out.txtgreat, so, closing then ๐ thanks
@Crutiatix , thanks for sharing! Starting from your input I menage to run it using command prompt t instead of powershell:
cmd /c C:\Users\Filippo\Dropbox\PC-Programmi\TIC\tic.exe -code $(FULL_CURRENT_PATH) > $(CURRENT_DIRECTORY)\out.txtIt take less time then powershell to start, still the prompt is visibile in background, but I can live with it. Here my tic is on a dropbox folder with the project Iโm working to. So I have a portable fantasy console shared with my computers ๐