Passing password to encfs

There is an option in encfs:
I want to use such program for this:
But how can I pass such obtained password to encfs call?
Any idea?
- Code: Select all
--extpass=program Use external program for password prompt
I want to use such program for this:
- Code: Select all
#!/bin/bash
zenity --entry --title="password dialog" --text="Enter your _password:" --hide-text
But how can I pass such obtained password to encfs call?
Any idea?