RunShell()
Posted: Sat Nov 13, 2010 11:48 am
Has anything changed in runshell between builds 331 and 355?
This works fine in 331:
runshell('/c fbzip.exe')
But in 355 I get an error. Doesn't matter if I put whole path in or just eXE name (which is in curDir)
here's the error:
ERROR LOG of "D:\alaska\altwin355\Util\BkupPRG\BKUPPRG.EXE" Date: 11/13/2010 12:43:35
Xbase++ version : Xbase++ (R) Version 1.90.355
Operating system : Windows Vista 06.01 Build 07600
------------------------------------------------------------------------------
oError:args :
-> VALTYPE: C VALUE: /c fbzip.exe
oError:canDefault : Y
oError:canRetry : Y
oError:canSubstitute: N
oError:cargo : NIL
oError:description : Operating system error
oError:filename :
oError:genCode : 40
oError:operation : RunShell
oError:osCode : 2
oError:severity : 2
oError:subCode : 4
oError:subSystem : BASE
oError:thread : 1
oError:tries : 1
------------------------------------------------------------------------------
CALLSTACK:
------------------------------------------------------------------------------
Called from MAIN(55)
This works fine in 331:
runshell('/c fbzip.exe')
But in 355 I get an error. Doesn't matter if I put whole path in or just eXE name (which is in curDir)
here's the error:
ERROR LOG of "D:\alaska\altwin355\Util\BkupPRG\BKUPPRG.EXE" Date: 11/13/2010 12:43:35
Xbase++ version : Xbase++ (R) Version 1.90.355
Operating system : Windows Vista 06.01 Build 07600
------------------------------------------------------------------------------
oError:args :
-> VALTYPE: C VALUE: /c fbzip.exe
oError:canDefault : Y
oError:canRetry : Y
oError:canSubstitute: N
oError:cargo : NIL
oError:description : Operating system error
oError:filename :
oError:genCode : 40
oError:operation : RunShell
oError:osCode : 2
oError:severity : 2
oError:subCode : 4
oError:subSystem : BASE
oError:thread : 1
oError:tries : 1
------------------------------------------------------------------------------
CALLSTACK:
------------------------------------------------------------------------------
Called from MAIN(55)