Barry Jackson wrote:
>
> This is a non-GUI app and when built with the "build and launch" button
> the output adds:-
>
> Detected exeutable => ash
>
> Launching application [ /home/baz/hash/ash ]
>
> ... but nothing further - I don't know if this is correct in this
> situation.
>
It should launch theoretically.
But let us examine how I am initiating the launch.
#if 1
qProcess := QProcess():new()
qProcess:setWorkingDirectory( hbide_pathToOSPath(
oProject:wrkDirectory ) )
IF !empty( oProject:launchParams )
qStr := QStringList():new()
qStr:append( oProject:launchParams )
qProcess:startDetached_1( cTargetFN, qStr )
ELSE
qProcess:startDetached_2( cTargetFN )
ENDIF
qProcess:waitForStarted()
qProcess := NIL
#else
Please investigate. It is straight forward.
Somewhere we are missing how should we pass the params to QProcess().
-----
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
--
View this message in context:
http://n2.nabble.com/HBIDE-Project-build-start-folder-problem-tp4861627p4886691.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour