move command_with_shell to common code, fix #82
1.4.3