Thread
:
[Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
View Single Post
petrelli
2010-06-26 , 16:36
Posts: 82 | Thanked: 10 times | Joined on Feb 2010
#
290
A question:
Working with the "Enable/disable Wi-Fi script" with a beacon, I can see that:
- with the echo "" at the end, there is no exit status passed to the QBW, so the image is always the same (exit 0).
- without the echo "", there is the proper exist status (0 or 2), with the background color of the icon correctly shown. However, I also see all the text output in the screen.
My question, how could I hide the output text? I am only interested in the exit code, not in the text.
I imagine I can use awk, but I think it is not too elegant. Is there something I am missing here??
Thx
Quote & Reply
|
petrelli
View Public Profile
Send a private message to petrelli
Find all posts by petrelli