implement command running with extended environment
libear dump into file instead of socket
implement libear output file parsing