Basic implementation of run and runSeries.
Support arbitrary arguments.