View Single Post
Old 11 June 2021, 07:39   #17
jPV
Registered User
 
jPV's Avatar
 
Join Date: Feb 2008
Location: RNO
Posts: 1,006
Argh, I was going to make a quick OS3.2 version of the program with the "script file" solution, but seems that there are more things broken there.

Code:
failat 21 ; this causes an eternal loop for the next line
lha >RAM:test.txt *>>RAM:test.txt ; combining both stdout and stderr on the same line doesn't work
Two issues here... first, redirecting stdout and stderr on the same line doesn't seem to work on OS3.2 like it does work on OS3.1, OS4, and MorphOS...

It gives an error:
lha: unable to open redirection file

And then if you have the FailAt line there, it somehow gets into an eternal loop with the next line... it just keeps printing the "lha: unable to open redirection file" error forever and doesn't exit from the script. Without the FailAt line it just prints it once and exits.
jPV is offline  
 
Page generated in 0.04096 seconds with 11 queries