|
|
|
|
#1 |
|
Major Dude
Join Date: May 2003
Posts: 681
|
catch realtime output from dos console
Is that possible somehow?
so NOT the result after action - the result meanwhile action... Greets, Brummelchen |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
ExecDos might be able to do that. nsExec currently doesn't support it.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Major Dude
Join Date: May 2003
Posts: 681
|
sorry - not with execdos - it only offers a logfile after action.
my app creates a logfile during action but i was asked for a bar like in "inetc" or "Nzipdll". duration is depending on amount of files and the bar should be relativ to this. app is writing one line for each file. Greets, Brummelchen |
|
|
|
|
|
#4 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
I was after this same thing once upon a time but I couldn't find a solution. Even for Half-Life 1 command-line map compilers Valve could only read output in WorldCraft/Hammer on a line by line basis.
Stu |
|
|
|
|
|
#5 |
|
Major Dude
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,222
|
ExecDos with /NOUNLOAD /ASYNC /TOSTACK options puts every output line to NSIS stack instead of log file and does this during application execution. Create loop and update progress bar basing on Pop result. The only problem you should solve for yourself is to find execution end. For progress bar you can use nxs (which I know is stable) or any other plug-in.
And I am not sure how safe is mutual access to NSIS stack... |
|
|
|
|
|
#6 |
|
Major Dude
Join Date: May 2003
Posts: 681
|
i'll give it a try - thx
i hope that nsis wont grab much cpu power while looping... Greets, Brummelchen |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Mar 2006
Location: Dallas
Posts: 462
|
It will unless you add a 'Sleep' statement! - Section 4.9.7.7
|
|
|
|
|
|
#8 |
|
Major Dude
Join Date: May 2003
Posts: 681
|
i know that cause i have other programs running some calculations and they freeze my computer a little bit during that.
Greets, Brummelchen |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|