The same command from terminal cannot be execute from a script.

David
Hi,
I have written a really pretty program with Qt creator. I have copied it. I
also make it to run like this:
“./Styles –qws” It worked well, but it was a bit slow (By the way :-) ).
I wrote a script which I added the above command in. I called that script
from rcS to make run my program instantly. I also added a new line like
this. echo “something” > /dev/tty1. It was because to check whether the
script run or not. The script run. But the program didn’t. 
The same command from terminal cannot be execute from a script.
Why? I hava also checked the owner etc..
David.

David
I used mini2440. :-)

David
I solved the problem, thanks

davef
Everyone who searches for a similar problem and finds this thread, might
appreciate knowing what the fix was.