KpyM Telnet/SSH Server - Forum
Failed to launch an application remotely using Ant
Ant Failed to launch an application remotely using Ant
 
Hi, I am trying to using the telent task of Ant to launch an application remotely. The app would run on windows XP with KPYM Telnet Server. I get a trouble when I run my Ant script----the app isn't launched and there is not any error information. However,I can make a new folder in the remote PC.Please give me some suggestion.
thanks
******************************************************
<project name="mytest" default="telnetTest">
<target name="telnetTest">
<telnet server="devrelease" timeout="30">
<read string="waiting..."/>
<write string=" "/>
<read>login:</read>
<write string="rlsuser" />
<read string="password:" />
<write string="Release" />
<read string="C:\Program Files\KTS>" />
<write string="cd c:\WINDOWS\system32"/>
<read string="C:\WINDOWS\system32>"/>
<write string="taskmgr.exe"/>
<read string="C:\WINDOWS\system32>"/>
<write string="telnet 3.35.60.92" />
</telnet>
</target>
</project>

the taskmgr is never launched,but there is no any error information
******************************************************
******************************************************
<project name="mytest" default="telnetTest">
<target name="telnetTest">
<telnet server="devrelease" timeout="30">
<read string="waiting..."/>
<write string=" "/>
<read>login:</read>
<write string="rlsuser" />
<read string="password:" />
<write string="Release" />
<read string="C:\Program Files\KTS>" />
<write string="cd c:\WINDOWS\system32"/>
<read string="C:\WINDOWS\system32>"/>
<write string="md good"/>
<read string="C:\WINDOWS\system32>"/>
<write string="telnet 3.35.60.92" />
</telnet>
</target>
</project>

the "good" folder coule be make correctly
******************************************************


Kroum Grigorov
 
Hi,

When you launch a GUI application from KTS session, the app is running just fine, but it is not visible because it is not running on the default desktop.
You can check this by viewing running processes in task manager the process of your application should be there.
Unfortunately there is no "workaround" for this behaviour.

Another thing to consider is that when the connection is closed every running application in the session shutsdowns. You can workaround this by running your app using "runas.exe", this will start the app off hte session.

Kroum


iqoptionespanol
 
Part of the problem is they can't just assign any book. The books they pick typically need to be "over the top" with the things the teacher wants to teach about Buy Assignment Online, like symbolism in The Scarlet Letter to give the teacher topics for the teacher to dig into and students stuff to write about. Often times they also need to be heavily discounted by the publisher too so the school could afford it.


 

© 2007 - 2008 Kroum Grigorov
Powered by phpBB © 2001, 2005 phpBB Group