<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:ilmari.lauhakangas@libreoffice.org" title="Buovjaga <ilmari.lauhakangas@libreoffice.org>"> <span class="fn">Buovjaga</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Batch libreoffice --convert-to offers no way to wait for document completion"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=117731">bug 117731</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>ilmari.lauhakangas@libreoffice.org
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Batch libreoffice --convert-to offers no way to wait for document completion"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=117731#c17">Comment # 17</a>
              on <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Batch libreoffice --convert-to offers no way to wait for document completion"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=117731">bug 117731</a>
              from <span class="vcard"><a class="email" href="mailto:ilmari.lauhakangas@libreoffice.org" title="Buovjaga <ilmari.lauhakangas@libreoffice.org>"> <span class="fn">Buovjaga</span></a>
</span></b>
        <pre>(In reply to Richard Elkins from <a href="show_bug.cgi?id=117731#c0">comment #0</a>)
<span class="quote">> Steps to Reproduce:
> Linux batch script, starting with an existing text file called "myfile.txt":

>    libreoffice --headless --convert-to odt:writer8 myfile.txt
>    RC=$?
>    if [ $RC -ne 0 ]; then 
>            echo '*** libreoffice conversion failed for myfile.txt'
>            exit 86
>    fi
>         cp myfile.odt somewhere-else.odt

> Actual Results:  
> cp: cannot stat 'myfile.odt': No such file or directory

> Expected Results:
> Copy completes as normal because myfile.odt is available.</span >

I get the expected result. I guess you should bite the bullet, clone the source
and try modifying it.

<a href="https://wiki.documentfoundation.org/Development/BuildingOnLinux">https://wiki.documentfoundation.org/Development/BuildingOnLinux</a>
<a href="https://wiki.documentfoundation.org/Development/Linux_Build_Dependencies">https://wiki.documentfoundation.org/Development/Linux_Build_Dependencies</a>

Arch Linux 64-bit
Version: 7.0.0.0.alpha1+
Build ID: c73418d8d1258ea0a8c77c07672fd182e2b28b26
CPU threads: 8; OS: Linux 5.6; UI render: default; VCL: kf5; 
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 9 May 2020</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>