2010-01-22 19:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/ideprojmanager.prg
! Fix in "Launch" option with respect to :WrkDirectory just before
launch of the application.
This commit is contained in:
@@ -17,6 +17,11 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2010-01-22 19:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
|
||||
* contrib/hbide/ideprojmanager.prg
|
||||
! Fix in "Launch" option with respect to :WrkDirectory just before
|
||||
launch of the application.
|
||||
|
||||
2010-01-23 02:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/contrib/hbwin/win_tprn.prg
|
||||
! do not ignore :setBkMode() called before :create()
|
||||
|
||||
@@ -1187,7 +1187,7 @@ METHOD IdeProjManager:launchProject( cProject )
|
||||
iif( empty( oProject:outputName ), "_temp", oProject:outputName ) )
|
||||
|
||||
#ifdef __PLATFORM__WINDOWS
|
||||
IF::oProject:type == "Executable"
|
||||
IF oProject:type == "Executable"
|
||||
cTargetFN += '.exe'
|
||||
ENDIF
|
||||
#endif
|
||||
@@ -1195,12 +1195,15 @@ METHOD IdeProjManager:launchProject( cProject )
|
||||
IF !hb_FileExists( cTargetFN )
|
||||
cTmp := "Launch application error: file not found " + cTargetFN + "!"
|
||||
|
||||
ELSEIF ::oProject:type == "Executable"
|
||||
ELSEIF oProject:type == "Executable"
|
||||
cTmp := "Launch application " + cTargetFN + "... "
|
||||
|
||||
qProcess := QProcess():new()
|
||||
|
||||
qProcess:setWorkingDirectory( hbide_pathToOSPath( oProject:wrkDirectory ) )
|
||||
hbide_dbg( oProject:wrkDirectory, qProcess:workingDirectory() )
|
||||
qProcess:startDetached_2( cTargetFN )
|
||||
qProcess:waitForStarted()
|
||||
//qProcess:waitForStarted()
|
||||
qProcess:pPtr := 0
|
||||
qProcess := NIL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user