run: escape command for description
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 24 Nov 2023 16:05:41 +0000 (01:05 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 25 Nov 2023 03:52:35 +0000 (12:52 +0900)
commit2c29813da3421b77eca5e5cdc3b9a863cad473b9
tree14883324bd6cfedfbad59daaee144b968c40bf2f
parent50f4469ed7200c74c18620dd2a7a6cd3127890c3
run: escape command for description

The command arguments may contain spurious characters, e.g. line-break.
When we use command arguments as a description of a unit, we should
escape them.

Fixes #30187.
src/run/run.c