Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X


"Beta Question" for RunWait function

  • Please log in to reply
1 reply to this topic

#1 sinvos



  • New Members
  • 6 posts

Posted 19 January 2006 - 09:52 PM

Will Runwait function have the same function as run in regards of the STD I/O streams?
Is there any thought in implementing it? Reason am asking is i have a function that calls dir command using run @comspec for searching for a certain file type if found delete and doing enumerating thru each users profiles, but when its finish. It will delete some of the files but not all but if i put msgbox to call path of the file before searching it will delete all of them. An all i can figure is call am making to the Run function not finishing when called again. When i put the msgbox it gives the time it needs to finish? Not sure, but thats what it seems to me. So leads to me first question will runwait have the STD I/O streams?

#2 DaveF


    Smells fanboyish.

  • Developers
  • 640 posts

Posted 20 January 2006 - 05:34 AM

This is something beyond the scope of the current implementation (or at least beyond my scope.)

The easiest fix is to put most of your work including the STD I/O in a compiled script, then call that script with a RunAsSet. If you do it right you can have a script re-run itself with a RunAsSet, there are examples of this in these forums...
Yes yes yes, there it was. Youth must go, ah yes. But youth is only being in a way like it might be an animal. No, it is not just being an animal so much as being like one of these malenky toys you viddy being sold in the streets, like little chellovecks made out of tin and with a spring inside and then a winding handle on the outside and you wind it up grrr grrr grrr and off it itties, like walking, O my brothers. But it itties in a straight line and bangs straight into things bang bang and it cannot help what it is doing. Being young is like being like one of these malenky machines.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users