Quick Question about exec("");
by Robin Gonzales · in Torque Game Builder · 05/06/2012 (10:47 pm) · 3 replies
I have been trying to get through the breakout tutorial and have a easy question. 1) Why does exec("~/exec.cs"); work but says missing file when I type the same thing in the console log.
#2
try to understand the difference between /,~/,./
may be this will help:
http://www.garagegames.com/community/forums/viewthread/46288/1#comment-350808
http://www.garagegames.com/community/forums/viewthread/24779
if u still cannot get it then post the address of the directory(from explorer's address bar ) in which exec.cs file located.
05/07/2012 (4:39 am)
because of ~.try to understand the difference between /,~/,./
may be this will help:
http://www.garagegames.com/community/forums/viewthread/46288/1#comment-350808
http://www.garagegames.com/community/forums/viewthread/24779
if u still cannot get it then post the address of the directory(from explorer's address bar ) in which exec.cs file located.
#3
05/07/2012 (5:39 am)
Thanks guys for your response. Ahsan the second thread explained it well enough. Thanks
Torque Owner Lukas Joergensen
WinterLeaf Entertainment
However i don't believe you would use the ~ try exec("./exec.cs");