aboutsummaryrefslogtreecommitdiff
path: root/lib/base/console.h
diff options
context:
space:
mode:
authorAndreas Frisch <andreas.frisch@multimedia-labs.de>2008-06-02 14:21:41 +0000
committerAndreas Frisch <andreas.frisch@multimedia-labs.de>2008-06-02 14:21:41 +0000
commit7ee3f3b8aaf43c8c712ce1c4c1d8b8c52e692e12 (patch)
tree75e1bdd286045941ac1f66c10a09450ffb3e82ca /lib/base/console.h
parent1c6c579ff6302c3301eb21bd0933d5ede824a384 (diff)
downloadenigma2-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.h2
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 );