[TOOLS] Fixed issue #106: process was not stopped when command line contained trailing whitespaces