diff options
| author | Andreas Frisch <andreas.frisch@multimedia-labs.de> | 2008-06-02 14:21:41 +0000 |
|---|---|---|
| committer | Andreas Frisch <andreas.frisch@multimedia-labs.de> | 2008-06-02 14:21:41 +0000 |
| commit | 7ee3f3b8aaf43c8c712ce1c4c1d8b8c52e692e12 (patch) | |
| tree | 75e1bdd286045941ac1f66c10a09450ffb3e82ca /lib/base/console.h | |
| parent | 1c6c579ff6302c3301eb21bd0933d5ede824a384 (diff) | |
| download | enigma2-7ee3f3b8aaf43c8c712ce1c4c1d8b8c52e692e12.tar.gz enigma2-7ee3f3b8aaf43c8c712ce1c4c1d8b8c52e692e12.zip | |
Add setCWD to change task's work directories for eConsoleAppContainers
Diffstat (limited to 'lib/base/console.h')
| -rw-r--r-- | lib/base/console.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/base/console.h b/lib/base/console.h index 07ad6a90..7c807699 100644 --- a/lib/base/console.h +++ b/lib/base/console.h @@ -25,6 +25,7 @@ class eConsoleAppContainer: public Object int fd[3]; int pid; int killstate; + std::string m_cwd; std::queue<struct queue_data> outbuf; eSocketNotifier *in, *out, *err; void readyRead(int what); @@ -34,6 +35,7 @@ class eConsoleAppContainer: public Object #endif public: eConsoleAppContainer(); + int setCWD( const char *path ); int execute( const char *str ); int execute( const char *cmdline, const char *const argv[] ); int execute( PyObject *cmdline, PyObject *args ); |
