use io.popen to call which