Tool's command might be separated by a newline, so we should use the general form split here, not specifically on spaces.  Pointed out by @kellrott.