-rw-r--r-- | noncore/apps/opie-console/MyPty.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/MyPty.cpp b/noncore/apps/opie-console/MyPty.cpp index 984e347..2570826 100644 --- a/noncore/apps/opie-console/MyPty.cpp +++ b/noncore/apps/opie-console/MyPty.cpp @@ -69,2 +69,3 @@ #include <qstring.h> +#include <qfile.h> @@ -144,2 +145,7 @@ void MyPty::start() { char* cmd = "/bin/sh"; + + if ( QFile::exists( "/bin/bash" ) ) { + char* cmd = "/bin/bash"; + } + QStrList lis; |