Aborting script output: will script abort?

4 posts / 0 new
Last post
#1 Wed, 10/27/2010 - 08:42
Locutus

Aborting script output: will script abort?

Hellos!

When I abort the output of a script in my browser, e.g. when I press ESC or close it while a domain is being created, will the script be aborted too? Or will it "silently" complete its thing?

Thanks in advance for insight. :)

Wed, 10/27/2010 - 09:23
andreychek

I'm not certain what would occur :-)

I'd definitely be concerned that it might not finish, but perhaps it would!

I'd suggest testing it, but I'm not sure I'd want to risk having a half-created Virtual Server laying around. Though, you could always fire up a Virtualbox instance, pop Linux and Virtualmin into that, and test away without risking your main box :-)

-Eric

Wed, 10/27/2010 - 11:00
Locutus

Don't worry about my testing environment, I of course have a non-live virtual machine for potentially bad experiments. ;-)

Just thought there might be a definitive answer from someone who knows precisely, if aborting the loading process can cause the Perl script to be aborted too.

Wed, 10/27/2010 - 11:24
Locutus

An additional thought: It can happen by accident that a script process is aborted browser-wise, like browser crash, accidentally hitting Escape, network problems etc. etc.

I think it would be a bad thing if any of these events, which are not too unlikely to happen from time to time, could cause e.g. a half-created or half-deleted virtual server... That would somewhat leave me with a bad feeling every time I create a domain :)... What do you think?

Topic locked