Running D3 TCL command from Linux occasionally stops at TCL prompt

Running D3 TCL command from Linux occasionally stops at TCL prompt

Post by Dale Bened » Sun, 24 Apr 2005 03:23:22


I'm running D3/Linux 7.2.1 on Linux 7.2. We now have a process that
occasionally needs to get a one liner reply from a query on the Pick system.
I followed the examples in the manual, and for 99% of the time it works
great. The problem comes when the port that is used to run the TCL command
seems to be stopped and sitting at TCL.

My understanding of the "d3tcl" Linux command is that the process uses a
seat, logs into Pick using the environmental variables set previously,
executes the command, and is now suppose to log off.

Has anybody else run into this problem where the process fails to complete,
and found a way of ensuring the process will complete that you are willing
to share?

Best regards,

Dale
 
 
 

Running D3 TCL command from Linux occasionally stops at TCL prompt

Post by Frank Wina » Sun, 24 Apr 2005 04:50:16

"Dale Benedict" wrote
For debugging purposes, you could try changing d3tcl fooargs
to d3tcl fooargs | tee /tmp/foolog

 
 
 

Running D3 TCL command from Linux occasionally stops at TCL prompt

Post by Tedd Scofi » Sun, 24 Apr 2005 07:46:59

Aye, I've hit this issue on D3 7.2 and prior. They added a '-r'
command line option to the d3 command (used by the d3tcl script) in 7.3
that reinit's the line upon logging in that fixes this problem. I
think it will make earlier versions seg fault if you try to use it
though.

I ran into this when I tried to make a linux command that had been
working on my dev box (D3 7.4) on a users older D3 7.1 version and was
getting hang ups like you described there where it wouldnt on my dev
machine.

I didnt find out about the '-r' option until I posted over at RD's
support forums:
http://www.yqcomputer.com/

hth,

Tedd