Shell scripts in a scenario
![ObadaJab](https://us.v-cdn.net/6038231/uploads/Dataiku/nAvatar6.png)
ObadaJab
Registered Posts: 3 ✭✭✭
Hello,
I am trying to execute a shell script in a scenario, attached is a screenshoot of the available steps.
Is there a way to execute a shell scripts in a scenario? And if not, what are the available alternatives?
Answers
-
Hi @ObadaJab
While there's no specific step to run a Shell command, you have a couple of options.
- execute inside of a Python snippet, using the code section step you already picked up on.
- in your flow create a shell recipe with a dummy output dataset. Then in your scenario you would choose a build step and select this dataset. The scenario will execute the shell recipe as part of the build.
Good luck!