View Single Post
Old 07-22-2014, 04:35 PM   #1044
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by williamrochira View Post
Anyone know how to make kterm run a shell script on start?

I tried adding "-e sh start.sh" as a parameter in kterm.sh, but nope, didn't work.

Will.

EDIT: Never mind, it was my idiocy once again. I had PARAM='-e "sh start.sh"' but bash was parsing the speech marks, so I fixed it with PARAM="-e \"sh start.sh\""
Why not just run start.sh before you run kterm? It will inherit the environment of kterm.sh.

Using params never worked for me.
eschwartz is offline   Reply With Quote