Additional work for #3. Now using Apache Commons Exec library.