adding command line to process object. Fixes #1289