Closed jpfleischer closed 2 years ago
This means that execute needs to be looked at or is it that rm does not exists and a command Shell.rm(file) should be used and implemented?
check if powershell command is:
Then we can look into SHell.rm(filename, force=True) where force would force delete it
we do have Shell.rm test on powershell, gitbash, and cmd.exe it should work
@classmethod
def rm(cls, location):
"""
executes rm tree with the given arguments
:param args:
:return:
"""
shutil.rmtree(path_expand(location))
this has been solved thanks to Shell.rm https://github.com/cloudmesh/cloudmesh-pi-burn/commit/aba4e52d04eb140b109dbe04ba21f589b86a8844
we have forfeited the possibility of running burn on powershell and cmd.exe and we are only focusing on git bash right now
there is an issue with burn on windows branch.
line 1143 in cloudmesh-pi-burn/cloudmesh/burn/command/burn.py this line breaks on powershell and cmd.exe but not gitbash