Use popen directly