Cant able to run EXE file using LibC

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Cant able to run EXE file using LibC

shawon58
Hello
I am trying to run "LibC system: 'D:\DEV_FreeCAD\build\bin\test1.exe' " .
But it dont execute. But if i click the test1.exe than it execute.


Thanks for the help



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Reply | Threaded
Open this post in threaded view
|

Re: Cant able to run EXE file using LibC

Christopher Fuhrman-4
Hello,

Try the following:

result := LibC runCommand: ' D:\DEV_FreeCAD\build\bin\test1.exe  >output 2> errors'.
'errors' asFileReference contents lines. 

You can view the file 'errors' for more information 

On Thu, 18 Jun 2020 at 10:48, shawon58 <[hidden email]> wrote:
Hello
I am trying to run "LibC system: 'D:\DEV_FreeCAD\build\bin\test1.exe' " .
But it dont execute. But if i click the test1.exe than it execute.


Thanks for the help



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



--
Christopher Fuhrman, P.Eng., PhD
Professeur au Département de génie logiciel et des technologies de l'information
ÉTS (École de technologie supérieure)

http://profs.etsmtl.ca/cfuhrman
+1 514 396 8638
L'ÉTS est une constituante de l'Université du Québec