[sane-devel] Sane and scanbd

Brian bcdown84 at gmail.com
Sat Aug 24 04:35:10 BST 2019


I was able to get this working by moving the scanimage command to the SCAN.SH script, and then doing my OCR processing and network transfer in the background.  


From: Brian
Sent: Thursday, August 22, 2019 9:56 PM
To: sane-devel at alioth-lists.debian.net
Subject: Sane and scanbd

Hello,

If there are any contributors to the project here, firstly I would like to say thanks! 

I hope someone can help with my problem…

When I setup scanbd to run a script with the following command, the scanner isn’t found:

SCAN.SH
---
sh /home/pi/scripts/scanconvert.sh &
---

When I run SCAN.SH myself – no problem.  

If I put the commands from scanconvert.sh into scan.sh – no problem

As soon as I pass the job of scanning to the background task using &, the scanimage command can’t see the scanner.  

Thank you,
Brian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20190823/84035c80/attachment.html>


More information about the sane-devel mailing list