mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
yaft: add "quiet" mode
run the command and collect the output, but do not show it on screen
This commit is contained in:
@@ -15,10 +15,11 @@ class YaFT : public sigc::trackable
|
||||
{
|
||||
private:
|
||||
int *res;
|
||||
bool paint;
|
||||
public:
|
||||
YaFT(const char * const *argv, int *Res, sigc::signal<void, std::string*, int*, bool*>);
|
||||
YaFT(const char * const *argv, int *Res, bool Paint, sigc::signal<void, std::string*, int*, bool*>);
|
||||
~YaFT();
|
||||
int run();
|
||||
int run(); /* returns exit code */
|
||||
sigc::signal<void, std::string*, int*, bool*> OnShellOutputLoop;
|
||||
};
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user