Can I use Shell command for .exe with LiveCode Server 4.6.3?
Posted: Sat Aug 13, 2011 12:08 am
Still trying to get my head around LiveCode Scripting Server.
I've been successful in setting up the LiveCode Scripting Server on WinXP32 IIS 5.1.
LiveCode Server 4.6.3 - Setup on WinXP32 IIS 5.1
http://forums.runrev.com/viewtopic.php? ... t=0#p41010
I can't seem to get LiveCode Server 4.6.3 to shell to an executable
Nor can I get start using to work.
Are both of these commands reserved for On-Rev only?
Also, this is my first adventure into CGI - common gateway interface.
Can anyone reply with a super short (and easy to understand) explaination
on how LiveCode fits in with CGI?
I wish we had an easier way to identify the LiveCode Server (for web scripting)
and a different way to identiry the LiveCode Server OnRev features and quesions and answers.
Any positive constructive suggestions would be greatly appreciated.
Dir.lc
I've been successful in setting up the LiveCode Scripting Server on WinXP32 IIS 5.1.
LiveCode Server 4.6.3 - Setup on WinXP32 IIS 5.1
http://forums.runrev.com/viewtopic.php? ... t=0#p41010
I can't seem to get LiveCode Server 4.6.3 to shell to an executable
Nor can I get start using to work.
Are both of these commands reserved for On-Rev only?
Also, this is my first adventure into CGI - common gateway interface.
Can anyone reply with a super short (and easy to understand) explaination
on how LiveCode fits in with CGI?
I wish we had an easier way to identify the LiveCode Server (for web scripting)
and a different way to identiry the LiveCode Server OnRev features and quesions and answers.
Any positive constructive suggestions would be greatly appreciated.
Dir.lc
Code: Select all
<html>
<?lc
set the shellcommand to "/bin/sh" --?????
put shell("dir") -- WORKS
put "<br><br>*** Command Starting ... <br><br>"
set the defaultFolder to "C:\"
-- Get shell("start M:\Inetpub\wwwroot\myApp.exe MyUserID MyPW") -- does NOT work
-- Get shell("M:\Documents and Settings\Barry\Desktop\MyAppFolder\MyApp.exe") -- does NOT work
-- start using stack "M:\Documents and Settings\Barry\Desktop\MyAppFolder\MyApp.exe"
-- set the defaultStack to "M:\Documents and Settings\Barry\Desktop\MyAppFolder\MyApp.exe"
start using stack "c:\MyApp.livecode" -- doesn't work -- no controls - just script in openStack
put "<br><br>*** Command Completed ***<br><br>"
?>
</html>