Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Re: Re: Re: Deleting a running script

by Anonymous Monk
on Sep 16, 2003 at 18:07 UTC ( #291909=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Re: Deleting a running script
in thread Deleting a running script

The program is 'farmed' out and runs in the background without a gui or anything in order to not disturb or alert the user. (It's not a hacker tool. More of a config checker) Not alerting the user is a big ticket for this thing so, no pop-up windows or rebooting can be done. :( Once it's done, I dont want it floating around on the computers so, it needs to delete itself. I have the "Farmer" program going back around and removing it now but, I wanted a more elegant solution instead of constantly checking if the tool has finished.. blah blah. I tried the batch file method and back tic'd it to the shell but, always got a 'permission denied' due to the process locking the file. Thanks
  • Comment on Re: Re: Re: Re: Deleting a running script

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Deleting a running script
by Limbic~Region (Chancellor) on Sep 16, 2003 at 18:23 UTC
    I think you forgot to login. The `batch.bat` method won't work. You have to exec. I verified that it works.

    Cheers - L~R

      Forgot to login?? exec kind of works but, plays havoc with the parent process. It causes it to exit abnormaly and leaves a slew of .dll files in the temp directory. (Perl2exe expands required modules as dll's) Which is just as bad for me. This is gonna drive me crazy! There has to be an elegant solution to this. Thanks anyway guys and gals.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://291909]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2022-01-23 22:18 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (64 votes). Check out past polls.