As a task runner, I often use Makefile.
If you want to run a process that is interactive for a long time, then you might want to run exec.More specifically, if you add various options to docker run and bash with
I don't think I can.If it's an interactive process, it might be good to boot to the background using
This is not an example of
Makefile, but is it like ↓?
By the way, the first answer I received shows an example of
make (1posix), but this example is not good.If you don't do ↓ like this, you won't be able to run tasks and it's dangerous.
POSIX Programmer's Manual make statement contains a Makefile that is close to what you are looking for.
In the above entry, when the
subdir target is invoked, it moves to the
subdir directory, deletes the file, and then executes the $(MAKE) macro (
© 2022 OneMinuteCode. All rights reserved.