Mangle command string before executing it.