Mansour Zayer
06/21/2022, 3:45 PMMansour Zayer
06/21/2022, 3:46 PMdbt run
command. I tried dbt task library, but it's a child of ShellTask class, so the same issue...Kevin Kho
Kevin Kho
os.subprocess
call inside a taskMansour Zayer
06/22/2022, 1:05 PMKevin Kho
Mansour Zayer
06/22/2022, 2:38 PMhelper_script
is not executed in the directory I'm in; it's executed in the directory in the screenshot; therefore I get directory doesn't existMansour Zayer
06/22/2022, 2:39 PMKevin Kho
subprocess.call('ls', shell=True, cwd='path/to/wanted/dir/')
Mansour Zayer
06/22/2022, 2:52 PM'ls' is not recognized as an internal or external command,...
Kevin Kho
dir
for WindowsMansour Zayer
06/22/2022, 2:54 PMKevin Kho
Mansour Zayer
06/22/2022, 6:07 PMrun dbt --some_optinos
)