Add support for *clip.exe* for Bash on Ubuntu on Windows

Kenny Evitt kenny.evitt at
Wed Jul 26 16:22:24 CEST 2017

Here's the output of the command you asked me to run:

kenny at KEVITT-P3620:~$ for i in a s n r v m p i o; do echo -n "uname -$i: ";
uname -$i; done
uname -a: Linux KEVITT-P3620 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31
14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
uname -s: Linux
uname -n: KEVITT-P3620
uname -r: 4.4.0-43-Microsoft
uname -v: #1-Microsoft Wed Dec 31 14:42:53 PST 2014
uname -m: x86_64
uname -p: x86_64
uname -i: x86_64
uname -o: GNU/Linux

There's a (mildly disgusting) way to shove everything into the platform
file. PowerShell is installed by default on all versions of Windows since
Windows 7 and Windows Server 2008 R2 (both released at the end of 2009).
Given that WSL is new for Windows 10, it sure seems like supporting WSL
should imply we can safely expect PowerShell to be installed and available.

On Tue, Jul 25, 2017 at 11:52 AM, Jason A. Donenfeld <Jason at>

> On Tue, Jul 25, 2017 at 4:00 PM, Kenny Evitt <kenny.evitt at>
> wrote:
> > I just looked at this briefly and I've run into a couple of problems:
> >
> >  1. `uname` in Bash on Ubuntu on Windows (BUW) outputs `Linux`, so I'd
> have
> > to name the platform file ** or change the code in
> > ** that sources those files.
> Can you send me the output of this on WSL:
> for i in a s n r v m p i o; do echo -n "uname -$i: "; uname -$i; done
> >  2. `clip.exe` is unidirectional, i.e. there's no way for it to output
> the
> > contents of the clipboard; nor is there a standard program for doing that
> > either.
> >
> > Thoughts? Feelings?
> >
> > The Windows clipboard *can* be accessed from BUW via PowerShell – are you
> > open to that as a dependency on Windows?
> I don't want to introduce extra dependencies that aren't already
> included with Windows or with WSL, but if there's some disgusting way
> of shoving everything we need into the platform file, that'd be okay
> with me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Password-Store mailing list