waiting time of shell()

runrev at animabit.de runrev at animabit.de
Wed Aug 6 04:59:20 EDT 2008


Hello,

I use 

put shell(perlupload) into result
if result contains "xyz" then 
put true into itworked  
else
...
end if

with perlupload as a perl program which loads files  through proxy http on slow connections to a cgi prog on the server ... and gets the http-HTML-respond page as result. This result is returned to runrev and I want to check the success.

This works fine for 90 % of the files but in the case the files have the size of up to 5 MB the perl upload process needs more time than the shell command is patient to wait. The perl process in most cases continues until success, but the return of the shell is empty and therefore my runrev prog never could be sure whether the upload process had been successful or not. I cannot do the upload in runrev native, because it is a special VPN context, which I could not solve in runrev native but in perl.

Q1: what is the prefigured waiting time of a shell command in runrev?
Q2: can I change this waiting time (let shell the time to work longer for long processes, before it returns control to runrev and says empty as result)


Thank you for any advice,

Franz

Mit freundlichen Grüßen
Franz Böhmisch

boehmisch at animabit.de
http://www.animabit.de
GF Animabit Multimedia Software GmbH
Am Sonnenhang 22
D-94136 Thyrnau
Tel +49 (0)8501-8538
Fax +49 (0)8501-8537



More information about the use-livecode mailing list