'Jupyter notebook executing bash without repeated ! prefix

I have a notebook that does the following

%cd SOME_DIRECTORY
./sandbox stuff param1 param2
./sandbox bla bla

But this doesn't work, however if I do

%cd SOME_DIRECTORY
!./sandbox stuff param1 param2
!./sandbox bla bla

It works, the issue is that I have to add ! to every single line, is it possible to change this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source