| View previous topic :: View next topic |
| Author |
Message |
kKDu Apprentice


Joined: 18 Aug 2003 Posts: 187
|
Posted: Thu Feb 26, 2004 8:48 pm Post subject: kahakai menu scripts problem |
|
|
I like the idea of menu scripts.
But I have the problem, that running a command with that
<!script>-command chrashes kahakai.
For example, I let show me the mount-status by a shell script:
| Code: |
...
if [ "$STATUS_USBSTICK" = "/dev/sda" ]; then
echo "[item] ([*] USB-Stick) {}"
else
echo "[item] ([ ] USB-Stick) {}"
fi
|
This works fine. But if I put some command in the {}, it chrashes kahakai
by clicking it in the menu to run the command.
The same problem appears with this poor script:
| Code: |
#!/bin/bash
echo "[item] (Mozilla) {mozilla}"
|
_________________ http://www.vim.org |
|
| Back to top |
|
 |
Stu L Tissimus Veteran


Joined: 08 Jun 2003 Posts: 1339 Location: NJ, 5 minutes from NYC
|
Posted: Thu Feb 26, 2004 9:23 pm Post subject: |
|
|
Hmmm... Let me take a look. *is the guy who wrote how to make a kahakai menu script in the wiki* _________________ old outdated sig |
|
| Back to top |
|
 |
kKDu Apprentice


Joined: 18 Aug 2003 Posts: 187
|
Posted: Thu Feb 26, 2004 9:27 pm Post subject: |
|
|
I run kahakai-0.6.2 _________________ http://www.vim.org |
|
| Back to top |
|
 |
Stu L Tissimus Veteran


Joined: 08 Jun 2003 Posts: 1339 Location: NJ, 5 minutes from NYC
|
Posted: Thu Feb 26, 2004 9:46 pm Post subject: |
|
|
Hmmm... *is getting closer and closer*
I now know how to understand Bash script. Give me a while...
EDIT: Interesting. Very interesting. Kahakai executes the command, then crashes. I'll contact PrinceOfChaos. Thanks for the heads up about this bug! </pretendingtobeinvolvedinthekahakaiproject> _________________ old outdated sig |
|
| Back to top |
|
 |
|