Pass shell=True to plog