View Full Version : Problems calling tivosh from BASH
Sleeper
01-23-2004, 04:36 PM
If I try to call 51killer.tcl from BASH I get an TMK fatal error Thread tivosh died due to signal 26.If I execute 51killer from a bash prompt it runs fine. Here is a sample bash script:
#!/bin/sh
PREFIX=""
LOCATION=/usr/local/51killer
$PREFIX$LOCATION/51killer.tcl
Sleeper
01-23-2004, 04:42 PM
I suspect it has something to do with the
gets stdin procced
mrblack51
01-23-2004, 05:25 PM
well, im guessing you are trying to make a tpm for the script. i would try removing the user sanity check, and then make that check part of your install script if anything.
Sleeper
01-23-2004, 05:32 PM
well, im guessing you are trying to make a tpm for the script. i would try removing the user sanity check, and then make that check part of your install script if anything.
Yeah, I already did that and it works. It's really pissing me off that I can't figure out why. I think it has something to do with that gets.
AlphaWolf
01-23-2004, 07:00 PM
I remember there being a trick to getting TCL scripts to execute from bash, but I can't remember how it's done (been so long sine I've played with bash scripting.) Embeem was usually my mentor for things like this, perhapse you should ask him.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.