<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1779134611;
        mso-list-type:hybrid;
        mso-list-template-ids:-269455492 -1 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style></head><body lang="EN-US"><br><br><div class="gmail_quote">23 августа 2019 г. 4:56:34 GMT+03:00, Brian <bcdown84@gmail.com> пишет:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="WordSection1"><p class="MsoNormal">Hello,</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">If there are any contributors to the project here, firstly I would like to say thanks! </p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">I hope someone can help with my problem…</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">When I setup scanbd to run a script with the following command, the scanner isn’t found:</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">SCAN.SH</p><p class="MsoNormal">---</p><p class="MsoNormal">sh /home/pi/scripts/scanconvert.sh &</p><p class="MsoNormal">---</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">When I run SCAN.SH myself – no problem.  </p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">If I put the commands from scanconvert.sh into scan.sh – no problem</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">As soon as I pass the job of scanning to the background task using &, the scanimage command can’t see the scanner.  </p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Thank you,</p><p class="MsoNormal">Brian</p></div></blockquote></div><br>I did not understand the problem, but are you sure that scanconvert.sh is compatible with POSIX shell and has no bashisms? /bin/sh is not bash in Debian.</body></html>