08-04-2024, 02:36 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Aug 2024
Device: kobo clara colour
|
how to execute a bash script in koreader
I am developing a program that runs on the kobo, from terminal I can execute it without any problem so I made a little script with the `#!/bin/sh` ad the top to make it easier to launch it with the correct arugments, with koreader I see the option to launch it but it stops with code 127, do you know what does it mean and how can I fix this?
|
08-05-2024, 06:10 AM | #2 |
Junior Member
Posts: 2
Karma: 10
Join Date: Aug 2024
Device: kobo clara colour
|
I figured it out, I dont' know why I thought the code 127 was about koreader, it was obviously the "command not found" code, so I added a cd command to the correct directory and now it works
|
Advert | |
|
08-05-2024, 10:32 AM | #3 |
Wizard
Posts: 1,675
Karma: 730583
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
Anything interesting in the script?
|
08-06-2024, 07:52 AM | #4 |
Enthusiast
Posts: 36
Karma: 10
Join Date: Sep 2023
Device: none
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to execute a script on wakeup | Kindleschokolade | Kindle Developer's Corner | 0 | 01-30-2022 08:06 PM |
K3 execute script when (un)plugged | logpig | Kindle Developer's Corner | 1 | 03-07-2021 02:13 PM |
Can calibre run a bash script when it's started? | Suffolk Punch | Calibre | 4 | 04-03-2015 03:55 PM |
PRS-T1 Factory reset - possible to execute via script? | bookler | Sony Reader Dev Corner | 1 | 07-04-2012 01:48 PM |
Is it possible to execute a bash script from the SD card? | godel10 | iRex | 25 | 06-25-2009 04:55 PM |