暂无描述

Reinhard Russinger 037fe64e57 stdout in file abspeichern, für interface bearbeitung. Beispiel mit cat auf /etc/network/interfaces und modifikation eines EIntrages 8 年之前
example 037fe64e57 stdout in file abspeichern, für interface bearbeitung. Beispiel mit cat auf /etc/network/interfaces und modifikation eines EIntrages 8 年之前
.gitignore b7b38053f4 start 8 年之前
README.md e46f9e90ff readme.md changed 8 年之前
application.cpp 037fe64e57 stdout in file abspeichern, für interface bearbeitung. Beispiel mit cat auf /etc/network/interfaces und modifikation eines EIntrages 8 年之前
application.h 037fe64e57 stdout in file abspeichern, für interface bearbeitung. Beispiel mit cat auf /etc/network/interfaces und modifikation eines EIntrages 8 年之前
applicationlauncher.cpp b7b38053f4 start 8 年之前
applicationlauncher.h b7b38053f4 start 8 年之前
applicationlauncher.pro 0714578906 readme and simple example added 8 年之前
applicationlauncher_plugin.cpp b7b38053f4 start 8 年之前
applicationlauncher_plugin.h b7b38053f4 start 8 年之前
qmldir b7b38053f4 start 8 年之前

README.md

Application Launcher

App Launcher plugin for QT Qml


import ApplicationLauncher 1.0

.....

    Application {
        id: testScripts
        appName: "cat"
        arguments: "/etc/passwd"

        onAppFinished: {
            console.debug("AppFinished :");
            console.debug("appError : " + exitError + " appStatus : " + exitStatus + " appCode " + exitCode );
            console.debug("stdERR :" + stdERR);
            console.debug("stdOUT :" + stdOUT);
        }

        onAppStarted: {
            console.debug("appStarted :");
            console.debug("appError : " + exitError + " appStatus : " + exitStatus + " appCode " + exitCode );

        }

        onAppError: {
            console.debug("appError : " + exitError + " appStatus : " + exitStatus + " appCode " + exitCode );

        }
    }

......

  • Properties

    • appName : Executeable (with or without parameters!)
    • arguments : arguments if not given with appName
    • stdERR : output of stderr as QString
    • stdOUT : output as QString
    • exitError
    • exitStatus
    • exitCode
  • Events

    • onAppFinished : app has ended properties are available
    • onAppStarted : app has started
    • onAppError : error on start or in app
  • Methods

    • launchScript() : start application (is started async and not in main event queue)