![]() |
![]() |
#1 |
Hardware Designer
Join Date: Aug 2018
Location: Bialystok/Poland
Age: 51
Posts: 184
|
Redirecting LhA output
I'm writing an Installer script. In this script I need to unpack many files from an LhA archive. Not a problem with Installer
runstatement. Works fine. However on 68020 @ 28 MHz machine this unpacking takes about a minute. During this time Installer just shows busy pointer and has its UI disabled. Would be nice to display LhA output in a console window, so the user knows what is going on. To my surprise, plain redirection does not work. For example: Code:
LhA x somearchive.lha RAM: >CON:////Depacking/AUTO/CLOSE/WAIT Tried with LhA 2.2. |
![]() |
![]() |
#2 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,659
|
Often times, informational output is printed to stderr, so maybe you need to redirect that
![]() |
![]() |
![]() |
#3 |
Hardware Designer
Join Date: Aug 2018
Location: Bialystok/Poland
Age: 51
Posts: 184
|
|
![]() |
![]() |
#4 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,325
|
You may try the lha option "-D" Alternate progress display.
|
![]() |
![]() |
#5 |
Hardware Designer
Join Date: Aug 2018
Location: Bialystok/Poland
Age: 51
Posts: 184
|
|
![]() |
![]() |
#6 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,325
|
Yes, seems it was fixed in later version: http://aminet.net/package/util/arc/lha_68k
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
redirecting error output to a file | jotd | support.Apps | 3 | 06 April 2023 01:59 |
Trying to archive an lha file inside a new lha file | Foebane | support.Apps | 6 | 11 December 2019 21:08 |
COMP output | Enverex | support.Hardware | 19 | 16 February 2004 19:53 |
MPEG output? | Fackamato | support.WinUAE | 2 | 31 October 2003 10:42 |
Output question | Fackamato | support.WinUAE | 2 | 02 September 2003 18:54 |
|
|