Migrated preliminary functionality from powerscala-process.