Fix command with path containing spaces