Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Zsh on Ubuntu on Windows
- X-seq: zsh-workers 38322
- From: Tyler James Leonhardt <tylerl0706@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, "Zsh Hackers' List" <zsh-workers@xxxxxxx>
- Subject: Re: Zsh on Ubuntu on Windows
- Date: Sat, 23 Apr 2016 23:42:30 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=/e/0c66qLeO+1yjuzsEIn0kT6O1D/ujtE5YvF4f5fzw=; b=LTBZKHp5jBh0LpQIg0MhW38mYDmm/cxMvAi7VzFUY/FoZtg9u+biqCY/ImX9zOCVu4 hw9WsUj5te2HQTxzNCILkDXHLvfoWTxeN8xaLpr62vighaB+40nkr8eFlE6r6MnN215u AtF9NEsbx2uyKrdljcxXSKcGtxY86Db5QBVwsXP4Sqdq2PdAxfEAv2YL5/LVUIzOPYFb hOq0Ksyz7Vs0rjWbtEXkcYxvJHRTpeJ5nXvxzqxcmT4oBTYutsLsALzEmGUjBgGQMaJL /cFn1PAFPUPFQHf8qkIp6KGXSOfV+xZ5RsEY5oVyg0L6PX7xxbKGkzzwOM44r83/knSC WFZg==
- In-reply-to: <CAH+w=7bYz8L8aHn2n2i_db1uqU_OZRXJOCnB7w4r8SCw1=ogqA@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CABGADBmgVx_+fkED5C7RiM+ZuUSfwk8FUtSU6UZ9Sj_WGRJ7Ag@mail.gmail.com> <CAFOazAOGL6iPPmaqcNmwsKHSi1Anxc6vGtHmgW4JcJF75B1AMw@mail.gmail.com> <CABGADBkdYt77GnUUzDpNpbabOMuk0Yn6TpE58r6gWg-1GHOMJw@mail.gmail.com> <CAH+w=7bYz8L8aHn2n2i_db1uqU_OZRXJOCnB7w4r8SCw1=ogqA@mail.gmail.com>
Hi all,
I just realized I forgot to attach the link… haha
This apparently has a workaround that I haven’t tried yet.
https://github.com/Microsoft/BashOnWindows/issues/91
I just used apt-get to install it. I’m not sure who compiled it
unfortunately.
Curious to see what you think.
Cheers,
Tyler
On Sat, Apr 23, 2016 at 5:40 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
wrote:
> On Sat, Apr 23, 2016 at 6:29 AM, Tyler James Leonhardt
> <tylerl0706@xxxxxxxxx> wrote:
> >
> > Unfortunately, it hasn’t been working. I’m not sure if this is a zsh
> issue
> > or if Microsoft’s subsystem for Ubuntu is just acting up. I found this
> > issue on the oh-my-zsh repo:
> >
> > https://github.com/robbyrussell/oh-my-zsh/issues/4984
>
> Based on the error message in that report, either zsh was compiled
> with the wrong config.h settings or Microsoft's emulation of one of
> the wait() family of system calls is incomplete. I don't know which
> of the following #ifdef branches is being used --
>
> #ifdef HAVE_WAIT3
> # ifdef HAVE_GETRUSAGE
> struct rusage ru;
>
> pid = wait3((void *)&status, WAITFLAGS, &ru);
> # else
> pid = wait3((void *)&status, WAITFLAGS, NULL);
> # endif
> #else
> # ifdef HAVE_WAITPID
> pid = waitpid(-1, &status, WAITFLAGS);
> # else
> pid = wait(&status);
> # endif
> #endif
>
> -- but the error message indicates that the returned pid == -1 and
> errno has been set to "invalid argument", so something is askew in
> whichever branch it was.
>
> Who compiled the zsh you are using?
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author