Skip to content
Snippets Groups Projects
Commit dc2ff596 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

parallel: add local switch to confirm_recursive_rmdir(cherry picked from...

parallel: add local switch to confirm_recursive_rmdir(cherry picked from commit bbdad94d)
parent b7290e6d
Branches
Tags
No related merge requests found
......@@ -68,7 +68,7 @@ for indPC=1:length(Parallel),
% It is necessary because the command rmdir always ask at the user to confirm your decision before
% deleting a directory: this stops the computation! The Octave native function 'confirm_recursive_rmdir'
% disable this mechanism.
val = confirm_recursive_rmdir (false);
val = confirm_recursive_rmdir (false, 'local');
[stat, mess, id] = rmdir(['\\',Parallel(indPC).ComputerName,'\',Parallel(indPC).RemoteDrive,'$\',Parallel(indPC).RemoteDirectory,'\',PRCDir],'s');
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment