From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17956 Path: news.gmane.org!.POSTED!not-for-mail From: Luis Rivera Newsgroups: gmane.text.pandoc Subject: Re: pandoc on cygwin's shell Date: Tue, 25 Jul 2017 19:44:05 -0700 (PDT) Message-ID: References: <11f3d0c4-d3d1-4ec5-ba5f-c4fe6e05e052@googlegroups.com> <20170723073929.GA67976@macbook-air-2.home> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_5148_699272257.1501037045257" X-Trace: blaine.gmane.org 1501037050 17627 195.159.176.226 (26 Jul 2017 02:44:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 26 Jul 2017 02:44:10 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDX2TPNZVQNBB5UD4DFQKGQEK6S3KQA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jul 26 04:44:01 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pg0-f62.google.com ([74.125.83.62]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daCIr-000412-4U for gtp-pandoc-discuss@m.gmane.org; Wed, 26 Jul 2017 04:44:01 +0200 Original-Received: by mail-pg0-f62.google.com with SMTP id v190sf8822772pgv.2 for ; Tue, 25 Jul 2017 19:44:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=iBYkTB7/puMU3E/WkPDsnUQ6uqzgVTBXHgooEGwNJ7g=; b=J1ctMzfgPTjNhDYOiOm1ovOD0e/+fXuPJFrGtk9ZwitH3HyWR5sh13Oa2dJ2nH9pWO 8Vb+i/noxpLbd31VpKGwwsbRj3WM2deh61zgEuJ46Fw6yEd56AXOTcFlqGSYj0JT7jpK bPgbEC5eVche9MSqSqdACCgfRIjO0SY9PvYP+QiyP2ZFdXFZcdANR/KZ2HaZJ+mc2Lu+ FI2xYIpPHJb++LVeBd9RzUMFeB40oajEtutfjvINiuLAaR5YMCJMx0rbKmzr6V6rbHg6 JtCwiHmIxVXbeyzlN3dqK7NWo7e+SFiq0tbX2KF/MlxgKa3xBuDpGnlQ+EYKNAwoHwqp OB2w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=iBYkTB7/puMU3E/WkPDsnUQ6uqzgVTBXHgooEGwNJ7g=; b=JGb7U3w+r3BJHNxr9k1T6jbtv0/KVUGcJZ0B9qu32LW9dyu9cnBbS5oZ8sRLUiOg7c DLJzjGhRYUvB/gpWGAQByRHauqX3rvFMjW/IYoyvvnDyHZ6JxznNMNzmgg8PzmHcz3t8 9lMTVU03gdQHuzcsQwPiD88JtQfH9JvOrXZIoMKI4Tt8nrLJ0dp9lFGhSo1sSVoicb29 LsgDM+Bu5td7DBGLycuWkobLUMoZ1V3SsIcoMe5hWDWD319jIYzCZ4zLXemG9NHGAWA9 bkYXNBUMaUutFC//H18gbUsfvrFuStepJYpX5tptn7xLCUOm2053DEZnvd0UKEW2tVpr PjBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=iBYkTB7/puMU3E/WkPDsnUQ6uqzgVTBXHgooEGwNJ7g=; b=FEDKtZPAKcT+Lc/RYNupI0NZrOi9gPNzcgC3W+etMV6WayO91XiOPeDjZUDkrUzenv 0fN7JlqMojfo9AA7VMfLtttth2WR2iEWOIZrNKF6FcOTugeO8uq8/RnWGPjeQ5GKvfDF QnQBqM3OvQ8oMuT7NtwFpmDIZdLfKZLLupR0IXq+pzIeni4ANyFTR0On6NhZHlGWWrHv Yjn3qp9pVYCq0LXQ9HEvGf9TRap68RS/jbnjJFxfKvyzQEk0xFB0hLOtNhmeElbz68BQ LJhSeGeq8BgxqaOtczX0RuBcd37ebhLjxMUITXpi3wwCwgtqdO9g7io7uLkn+elMwMAt XuhA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AIVw110AX7wcUoPqqV2C55MVWOQbeHcd9QFt0grdfHEHTSneO6huICOo aSgvfMiisEoaZA== X-Received: by 10.36.104.205 with SMTP id v196mr477562itb.3.1501037046604; Tue, 25 Jul 2017 19:44:06 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.36.67.133 with SMTP id s127ls6420051itb.8.canary-gmail; Tue, 25 Jul 2017 19:44:05 -0700 (PDT) X-Received: by 10.36.80.193 with SMTP id m184mr462659itb.6.1501037045847; Tue, 25 Jul 2017 19:44:05 -0700 (PDT) In-Reply-To: <20170723073929.GA67976-gd5emFPDCk1l5R22fHXGm0EMvNT87kid@public.gmane.org> X-Original-Sender: jlrn77-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:17956 Archived-At: ------=_Part_5148_699272257.1501037045257 Content-Type: multipart/alternative; boundary="----=_Part_5149_1687058386.1501037045257" ------=_Part_5149_1687058386.1501037045257 Content-Type: text/plain; charset="UTF-8" On Sunday, 23 July 2017 02:39:47 UTC-5, John MacFarlane wrote: > > findExecutable from System.Directory is being used to check > for the existence of the program and issue and error if it's > not found. > > The docs for findExecutable say: > > > On Windows, findExecutable calls the Win32 function > > SearchPath, which may search other places before checking > > the directories in the PATH environment variable. Where it > > actually searches depends on registry settings, but > > notably includes the directory containing the current > > executable. > > So that might be a clue about what's happening. > > We could try removing that check and just letting things > fail at the point where we try to run the tex program. > But the check is nice because we can give a more informative > message early on. > > It this problem worth an issue on GitHub? -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e44f1c65-26b3-4f6a-aa63-f494a48f8245%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_5149_1687058386.1501037045257 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Sunday, 23 July 2017 02:39:47 UTC-5, John MacFarlan= e wrote:
findExecutable from S= ystem.Directory is being used to check
for the existence of the program and issue and error if it's
not found.

The docs for findExecutable say:

> On Windows, findExecutable calls the Win32 function
> SearchPath, which may search other places before checking
> the directories in the PATH environment variable. Where it
> actually searches depends on registry settings, but
> notably includes the directory containing the current
> executable.

So that might be a clue about what's happening.

We could try removing that check and just letting things
fail at the point where we try to run the tex program.
But the check is nice because we can give a more informative
message early on.


It this problem worth an issue on GitH= ub?

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/e44f1c65-26b3-4f6a-aa63-f494a48f8245%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_5149_1687058386.1501037045257-- ------=_Part_5148_699272257.1501037045257--