TIC-80: Trace output redirecting to file is not working while using more arguments.

  • tic > out.txt - working
  • tic > out.txt -code source.lua - not working
  • tic > out.txt source.tic - not working
  • tic 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)

Most upvoted comments

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.txt

great, 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.txt

It 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 ๐Ÿ˜ƒ