From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23281 invoked by alias); 23 Apr 2016 23:42:45 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 38322 Received: (qmail 12717 invoked from network); 23 Apr 2016 23:42:43 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 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== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=/e/0c66qLeO+1yjuzsEIn0kT6O1D/ujtE5YvF4f5fzw=; b=B2G7MSj6AakLjKGJR3upB1sfYKRfmd59QDJevAKd1KiPYHwZfjUO3uRcvePDqagrHH vhkT9WoyhUHAUNxaTEHCyjQa5Yce0qON598xdRDRQztxvl7tpZCwDbJSd4R2gXTQaFAg gVpoMnYmejDAmum4mt6o8OEJ65W5zl29OsXAGcH3D0y25/iWuZpUYlmE5AY/k8VjrZbv ZsbUgDAdi3pwN14P3PPIVFrvg6H7GhW+VIalRDjz21JV+hr4EpKG7Ax00+neU51x0rdb IkZyRKgMLWvn4qrYUWtV+OcANE2l6vclk8s3Zs/U0VVKjgpGLPWFSGHPdX/BnEexy6na mXvQ== X-Gm-Message-State: AOPr4FVkaHYtyb80+Bi8kKHCGqpoAGLNE7ghRR6BYp413R5v5H+5mDZWbWGAtzUVuqzrKJE2zz1JEXFwIH68FA== X-Received: by 10.107.148.211 with SMTP id w202mr32474699iod.127.1461454959774; Sat, 23 Apr 2016 16:42:39 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Tyler James Leonhardt Date: Sat, 23 Apr 2016 23:42:30 +0000 Message-ID: Subject: Re: Zsh on Ubuntu on Windows To: Bart Schaefer , "Zsh Hackers' List" Content-Type: multipart/alternative; boundary=001a113fae96bb8f7505312f7f80 --001a113fae96bb8f7505312f7f80 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi all, I just realized I forgot to attach the link=E2=80=A6 haha This apparently has a workaround that I haven=E2=80=99t tried yet. https://github.com/Microsoft/BashOnWindows/issues/91 I just used apt-get to install it. I=E2=80=99m 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 wrote: > On Sat, Apr 23, 2016 at 6:29 AM, Tyler James Leonhardt > wrote: > > > > Unfortunately, it hasn=E2=80=99t been working. I=E2=80=99m not sure if = this is a zsh > issue > > or if Microsoft=E2=80=99s subsystem for Ubuntu is just acting up. I fou= nd 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 =3D wait3((void *)&status, WAITFLAGS, &ru); > # else > pid =3D wait3((void *)&status, WAITFLAGS, NULL); > # endif > #else > # ifdef HAVE_WAITPID > pid =3D waitpid(-1, &status, WAITFLAGS); > # else > pid =3D wait(&status); > # endif > #endif > > -- but the error message indicates that the returned pid =3D=3D -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? > --001a113fae96bb8f7505312f7f80--