Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 01:36 PM   #1
madtsu
Junior Member
madtsu began at the beginning.
 
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?
madtsu is offline   Reply With Quote
Old Today, 05:10 AM   #2
madtsu
Junior Member
madtsu began at the beginning.
 
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
madtsu is offline   Reply With Quote
Old Today, 09:32 AM   #3
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,648
Karma: 730583
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Anything interesting in the script?
Frenzie is offline   Reply With Quote
Reply


Forum Jump

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 07:06 PM
K3 execute script when (un)plugged logpig Kindle Developer's Corner 1 03-07-2021 01:13 PM
Can calibre run a bash script when it's started? Suffolk Punch Calibre 4 04-03-2015 02:55 PM
PRS-T1 Factory reset - possible to execute via script? bookler Sony Reader Dev Corner 1 07-04-2012 12:48 PM
Is it possible to execute a bash script from the SD card? godel10 iRex 25 06-25-2009 03:55 PM


All times are GMT -4. The time now is 02:25 PM.


MobileRead.com is a privately owned, operated and funded community.