Addresses issue #1

This patch uses system2 command instead of system and sets stdout to NULL to suppress output.