#ifndef BB_STD_PROCESS_H #define BB_STD_PROCESS_H #include class bbProcess : public bbObject{ public: bbProcess(); ~bbProcess(); void discard(); bbFunction finished; bbFunction stdoutReady; bbBool start( bbString cmd ); bbInt exitCode(); bbInt stdoutAvail(); bbString readStdout(); bbInt readStdout( void *buf,bbInt count ); void writeStdin( bbString str ); void sendBreak(); void terminate(); private: struct Rep; Rep *_rep; }; #endif