implement sync operations
add support for prefixed shell processes
implement exec_sync functions supporting cd option