From 7817ebf3c7cd10c4db1c907ff334bf678ee53232 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 05 Oct 2014 13:48:52 -0400 Subject: cmd/shell: Use session_exec() Now command arguments are separated and escaped naturally. For example, the following commands work: $ sudo prokit shell $root printf 'arg: %s\n' foo bar arg: foo arg: bar $ sudo prokit shell $root printf 'arg: %s\n' 'foo bar' arg: foo bar $ sudo prokit shell $root printf "'ello world\n" 'ello world --- (limited to 'COPYING') -- cgit v0.9.1