system_ in win7/8

BlitzMax Forums/BlitzMax Programming/system_ in win7/8

Sub_Zero(Posted 2013) [#1]
Is it just me or is sytem_ broken in win7 / win8 ?


SLotman(Posted 2013) [#2]
You could try TProcess:

Local cmd:String = "explorer " + Chr(34) +  AppDir+"\" + Chr(34)
cmd = Replace(cmd,"/","\")
Local proc:TProcess = CreateProcess(cmd)


I just used this 2 days ago, and it works like a charm on win8.


BlitzSupport(Posted 2013) [#3]
This works for me on Windows 7 64-bit:

system_ "notepad.exe"



Henri(Posted 2013) [#4]
...and for me in Windows 8 64-bit

Maybe there is something else going on ?


-Henri


Sub_Zero(Posted 2013) [#5]
Sorry my bad, i was calling executables without their extension :(