Aug 3, 2016, 9:21 AM
Post #1 of 2
reload the list of disks at RunTime
I have following script which is execute in Cygwin:
# G:\ mounted
if (-d "G:") die "G: not found";
it basically calls a batch file that creates a VHD disk G:\ and mounts it.
Then if I check whether it exists, script signals always an error. Then I have to restart the script in order to pass the check
As I understood, Perl caches the list of disks at startup. So the question is whether we can force Perl to reload this list ?
is there any hint for this ?
(This post was edited by wajdi on Aug 3, 2016, 9:57 AM)