pub fn executable_from_command_line(command_line: &str) -> Option<PathBuf>Expand description
Reads the executable back out of a command line quoted by
[quote_argument].
service status needs this because the Windows Service Control Manager
stores the binary and its arguments as one string and hands the whole thing
back from QueryServiceConfigW. Comparing a record against a registration
means splitting that string the same way Windows itself does.
Returns None for an empty or whitespace-only command line, which is the
only input with no first argument to find.