forgot popen, should also probably strip whitespace