summaryrefslogtreecommitdiffstats
path: root/vmchooser/runImage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vmchooser/runImage.cxx')
-rw-r--r--vmchooser/runImage.cxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/vmchooser/runImage.cxx b/vmchooser/runImage.cxx
index 789098c..6ffa51f 100644
--- a/vmchooser/runImage.cxx
+++ b/vmchooser/runImage.cxx
@@ -41,10 +41,15 @@ void runImage(fltk::Widget*, void* p)
pid_t pid;
// in case you want to wait hours on your thread
//int status;
+ char arg1[MAX_LENGTH];
+ strncpy(arg1, (char*) string("'\n\nStarte Image: ")
+ .append(dat.short_description)
+ .append("\n'").c_str(),MAX_LENGTH);
+ char* argv[] = { "/opt/openslx/plugin-repo/vmchooser/mesgdisp",
+ arg1, NULL };
+
+ printf("%s", arg1);
pid = fork();
- char* argv[] = { "mesgdisp", ///opt/openslx/plugin-repo/vmchooser/
- (char*) string("\n\nStarte Image: ").append(dat.short_description)
- .append("\n").c_str(), NULL };
switch( pid ) {
case -1: