Use Kernel#system instead of %x so that output is visible