Skip to content
Snippets Groups Projects
Commit 08c9c7fc authored by Pau Andrio's avatar Pau Andrio
Browse files

Avoiding cwd undefined at excecute comman

parent 8b9166ba
No related branches found
No related tags found
No related merge requests found
...@@ -393,8 +393,9 @@ class BiobbObject: ...@@ -393,8 +393,9 @@ class BiobbObject:
# fu.log('Not using any container', self.out_log, self.global_log) # fu.log('Not using any container', self.out_log, self.global_log)
def execute_command(self): def execute_command(self):
cwd = os.getcwd()
if self.chdir_sandbox: if self.chdir_sandbox:
cwd = os.getcwd()
os.chdir(self.stage_io_dict["unique_dir"]) os.chdir(self.stage_io_dict["unique_dir"])
self.return_code = cmd_wrapper.CmdWrapper( self.return_code = cmd_wrapper.CmdWrapper(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment