comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » remote execution of idl script
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: remote execution of idl script [message #91204 is a reply to message #91203] Wed, 17 June 2015 05:51 Go to previous messageGo to previous message
Lajos Foldy is currently offline  Lajos Foldy
Messages: 176
Registered: December 2011
Senior Member
On Wednesday, June 17, 2015 at 12:09:05 PM UTC+2, trisb wrote:
> Hello IDL hive mind,
>
> after going through the post archives, I could not find a suitable solution to my problem, so here comes a new thread.
>
> I have an IDL script file ~/hw.isc that contains only
> print,"Hello world"
>
> Now I want to execute this IDL script (or command, to start with) from the shell of a remote computer. My IDL version is 8.3 and I am operating under a UNIX system. If I do the following, it works:
>
> ssh remote_server_name
> idl -e "@~/hw.isc"
>
> It correctly starts IDL, prints "Hello world", and exits.
>
> Now I want to have that as a batch execution from my home server and want to use a one-liner:
>
> ssh remote_server_name 'idl -e "@~/hw.isc"'
>
> What happens is that it logs into the remote server, starts IDL, but hangs upon startup after the license server is loaded. No X commands are used in the script nor the startup file. The result is the same if I use -X, -Y, or >& outfile in the IDL call command to redirect screen output.
>
> Thanks for your help!
> Flo.

Try "ssh ... idl hw.isc' (and append "exit" to hw.isc).

regards,
Lajos
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with text()
Next Topic: trouble with image(), /data, /norm

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:49:28 PDT 2025

Total time taken to generate the page: 0.00240 seconds