Re: system calls was Progress Bar
- From: Steve & Patti Getzinger <steveandpatti wubs org>
- To: GTK Application Development List <gtk-app-devel-list gnome org>
- Subject: Re: system calls was Progress Bar
- Date: Mon, 08 Jan 2001 17:59:23 -0500
Fredrik Rambris wrote:
Steve & Patti Getzinger wrote:
I am using system twice...independant of each other at this point.
If you have no problem of the two tasks running in paralell do try
system( "command &" );
We are still wrestling with the same monster. From what I gather system exits
the app and then returns when complete. This seems to be happening with the
whole app but not the actual function it is in. I have a dialog I want opened
at initialization of the app and after that dialog is open and dummy progress
bar running I want the system calls made. I have one func that locates a
filename and outputs that to a file. It then filters returns and counts the
filtered results. From there I take that count and create an array which is
populated with the filtered list. I then rm the file created. No matter what
I try the dialog either stops while the system command is running (I put an
if in the timer of the progress bar) or the dialog never shows till the
system calls are complete. I have tried & which returns to me unable to open
file so the process is running but the func did not stop till it was
completed. So I put in a delay between the system call and opening the file
it creates. Stopped the progress bar on the dialog also. Tried the same delay
between the func calls and the dialog does not show until the system call is
complete even though it is called after the dialog func. Any ideas or
pointers?
TIA
Steve
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]