Sign in to follow this  
Followers 0

"Beta Question" for RunWait function

2 posts in this topic

#1 ·  Posted

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?

Share this post


Link to post
Share on other sites



#2 ·  Posted

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0