extract paths from individual exec commands