English Amiga Board

English Amiga Board (http://eab.abime.net/index.php)
-   Coders. Scripting (http://eab.abime.net/forumdisplay.php?f=117)
-   -   route stderr to file? (http://eab.abime.net/showthread.php?t=100148)

Greyspirit 24 December 2019 21:51

route stderr to file?
 
I might have missed it someplace but is there a way to route stderr to a file? I'm trying to capture trace output that would go to TCO window.

thomas 25 December 2019 00:21

In OS4 it is *>. I don't think something similar exists for OS3 and below.

Thomas Richter 24 January 2020 04:05

Quote:

Originally Posted by thomas (Post 1367200)
In OS4 it is *>. I don't think something similar exists for OS3 and below.

As shell token, "*>" exists since 3.9, and it also exists in 3.1.4. Problem is that there are only very few programs that actually use stderr. This will change somewhat in 3.2 where the shell utilities in C: will use stderr consistently for error output, along with the dos.library calls PrintFault() which will also go through stderr.


All times are GMT +2. The time now is 16:26.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.

Page generated in 0.04968 seconds with 11 queries