InsanePrawn
|
b84d2202db
|
python 3.9 compat: introduce typehelpers.py for NoneType, UnionType, TypeAlias
|
2023-04-17 02:37:10 +02:00 |
|
InsanePrawn
|
0353693025
|
exec/cmd: flatten_shell_script(): specifically quote empty strings even when shell_quote is disabled
|
2023-04-16 04:03:49 +02:00 |
|
InsanePrawn
|
6d6f582b71
|
exec/cmd: fix up stderr and stdout handling, fix capture_output overwriting env
|
2023-03-17 16:34:20 +01:00 |
|
InsanePrawn
|
0693792791
|
exec/cmd: expose [subprocess.]CompletedProcess for easy import in other modules
|
2022-12-09 05:45:43 +01:00 |
|
InsanePrawn
|
5c8f0acfcd
|
exec: run_cmd() include cwd in debug log
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
17669ea8d2
|
chroot.run_cmd(): add switch_user parameter
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
2c2e4df638
|
exec/cmd: generate_cmd_{su,elevated}: tolerate flat string as input for cmd instead of list
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
2535d6bbd8
|
exec/cmd.run_cmd(): add stderr param
|
2022-08-16 02:35:40 +02:00 |
|
InsanePrawn
|
f3a1a510d9
|
exec/cmd.py: add tests (needs configured sudo)
|
2022-08-15 23:07:44 +02:00 |
|
InsanePrawn
|
879fd113f0
|
exec: migrate exec.py to exec/cmd.py
|
2022-08-15 17:48:42 +02:00 |
|