Simple Execfile Module (5kb)

BlitzMax Forums/BlitzMax Programming/Simple Execfile Module (5kb)

skn3(Posted 2005) [#1]
http://skn3.acsv.net/junk/execfile.rar

(win32)

Extract into your mods folder.
To use...
import skn3.execfile 'not needed unless you are using framework
Execfile("file.jpg")
Execfile("file.exe","my params here")
Execfile("file.exe","my params here","c:\defaultdir\")



Rimmsy(Posted 2005) [#2]
I've tried it but when I use it the main app closes without warning. Is there anyway to stop this from happening? Otherwise, fantastic addition!


skn3(Posted 2005) [#3]
I dunno why its doing that, its a mystery to me too. If you run in non debug, it seems to work fine!


Rimmsy(Posted 2005) [#4]
No, it happens in both for me. Oh well! I'll look into it but I'm no skn3[ac].