Revert "Use system instead of exec."

This reverts commit cc5bdeea495629e0e9679f520178772c011d88aa.