General TC > Programming & Scripting - Unofficial
Xdialog scripting question - progress bar
ACRizona:
...not beer or gold bar. This a thermometer, speedometer bar showing the progress of something. Keeps one entertained while BigSlowProgram loads.
How do I make it the "front-end" while BigSlowProgram loads ?
There is no RUN command in BASH. I tried the background ampersand ruse, but Opera (as example) will not run (pun) in background 'mode'.
Any Guroo solutions ? :) ( Please - only TinyCore capable. No PHP etc. )
gerald_clark:
opera &
absolutely works.
tinypoodle:
--- Quote from: ACRizona on December 18, 2010, 08:30:59 PM ---There is no RUN command in BASH.
--- End quote ---
There is 'exec', but don't use it indiscriminately.
ACRizona:
BASH:
Xdialog --progressbar.....10...9...8...7....6...5
exec BigSlowProgram :(
Results:
Xdialog completes countdown from 10 to zero.
BigSlowProgram loads ( you are watching a blank screen) and runs. :P
Desired:
BigSlowProgram loads WHILE you watch Xdialog count down.
curaga:
Bigslowapp &
Xdialog --progressbar...
Navigation
[0] Message Index
[#] Next page
Go to full version