From: Tyler James Leonhardt <tylerl0706@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>,
"Zsh Hackers' List" <zsh-workers@zsh.org>
Subject: Re: Zsh on Ubuntu on Windows
Date: Sat, 23 Apr 2016 23:42:30 +0000 [thread overview]
Message-ID: <CABGADB=NBfzVPqF0Sr9V-4RDjAkuntFN5B+aG6TC3Eckt+aTPg@mail.gmail.com> (raw)
In-Reply-To: <CAH+w=7bYz8L8aHn2n2i_db1uqU_OZRXJOCnB7w4r8SCw1=ogqA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1620 bytes --]
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@brasslantern.com>
wrote:
> On Sat, Apr 23, 2016 at 6:29 AM, Tyler James Leonhardt
> <tylerl0706@gmail.com> 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?
>
next prev parent reply other threads:[~2016-04-23 23:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-23 12:51 Tyler James Leonhardt
2016-04-23 13:18 ` Jérémie Roquet
2016-04-23 13:29 ` Tyler James Leonhardt
2016-04-23 14:11 ` Tyler James Leonhardt
2016-04-23 20:17 ` Jérémie Roquet
2016-04-23 21:40 ` Bart Schaefer
2016-04-23 23:42 ` Tyler James Leonhardt [this message]
2016-04-24 0:21 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CABGADB=NBfzVPqF0Sr9V-4RDjAkuntFN5B+aG6TC3Eckt+aTPg@mail.gmail.com' \
--to=tylerl0706@gmail.com \
--cc=schaefer@brasslantern.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).