jan/fix/20260610-lib-execcontext-put-fix-forgotten-input into master _put() doesn't put: An empty stdin is passed to tee, a regression
introduced with 6db73873e7, fix that.
Signed-off-by: Jan Lindemann <jan@janware.com>
_put() can leave temporary files behind if one of its shell commands fails, fix that. Signed-off-by: Jan Lindemann <jan@janware.com>
Ignore newline at the end of Result.stdout_str if only one line of output is wanted from an executed shell command. The output of both uname and mktemp are used wrongly in that regard. Signed-off-by: Jan Lindemann <jan@janware.com>
__repr__() tries to decode binary stdout as string and fails without a backup. Fix that. Signed-off-by: Jan Lindemann <jan@janware.com>
__repr__() tries to format a variable in an f-string without "f". Fix that. Signed-off-by: Jan Lindemann <jan@janware.com>