title: How to force opening of a separate window in an Unix script?
body: <p>I have a small UNIX script that I want to open via double commander ( <a href="https://doublecmd.sourceforge.io/" rel="nofollow noreferrer">https://doublecmd.sourceforge.io/</a> ):</p>
  
  <pre><code>#!/bin/bash
  sudo sshfs pi@192.168.178.23:/ ~/mount-pi/data -o reconnect -o allow_other
  </code></pre>
  
  <p>This script mounts a remote file system in a dedicated directory of my local machine.</p>
  
  <p>When this script gets executed from a bash (and not from double commander), I get asked  for the sudo passwords of both machines.</p>
  
  <p>The graphical user interface of double commander allows me to execute the script via a double click, but the script seems to fail silently as no passwords are supplied.</p>
  
  <p>How do I have to modify this script that it gets executed in another bash when clicking on it so that I can supply both passwords in that bash?</p>
  
  <p><strong>Remark:</strong></p>
  
  <p>I use Ubuntu / Compiz / Unity, and I need this in a graphical environment.</p>