break commands into array form for use with shell=False