A much simpler and more correct data type which would emcompass cmd_args, selfpath, selfexec, and execshell would just be to have one value command which is a list of strings. This is how everything else does it (Python subprocess, Dockerfile, Kubernetes container spec, ...)
I propose CUBE, pfcon, and pman should be changed so that:
CUBE assembles selfpath, selfexec, execshell, and any arguments as one list of strings called command
CUBE sends command to pfcon
pfcon sends command to pman
the AbstractManager of pman sends command to the runtime API (which, in every known case such as docker and kubernetes, accepts a list of strings)
Currently pman's API accepts an object which looks like this:
A much simpler and more correct data type which would emcompass
cmd_args
,selfpath
,selfexec
, andexecshell
would just be to have one valuecommand
which is a list of strings. This is how everything else does it (Python subprocess, Dockerfile, Kubernetes container spec, ...)I propose CUBE, pfcon, and pman should be changed so that:
selfpath
,selfexec
,execshell
, and any arguments as one list of strings calledcommand
command
to pfconcommand
to pmanAbstractManager
of pman sendscommand
to the runtime API (which, in every known case such as docker and kubernetes, accepts a list of strings)This proposal would solve #202