<br><p>Hi Will,<br></p><p>I have tried typesetting the example you provided (changing 'ls' to 'dir' so I could test it both using windows command prompt and Cygwin shell) using the following command:</p><p>
pdflatex -shell-escape <file></p><p>Both in windows command prompt and in cygwin shell, I saw the output of the 'dir' command.</p><p>Does this help narrowing down the problem?</p><p>- Iwan</p><div class="gmail_quote">
On Wed, Nov 26, 2008 at 1:42 PM, Will Robertson <span dir="ltr"><<a href="mailto:wspr81@gmail.com">wspr81@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d">On 26/11/2008, at 3:54 PM, Iwan Setyawan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
OK, I'll try it later today when i'm in front of my windows box. I take it that 'ls' is the *nix command 'ls'? Should I try this only under Cygwin then?<br>
<br>
</blockquote></div>
If you're using Windows without Cygwin, try 'dir' instead, I suppose. It's just to see if the shell-escape is actually working -- it doesn't matter what command it is.<div class="Ih2E3d"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Regarding the 2nd line of the original example (i.e, NOTUSING WINDOWS): as I said in my original post, I also get NOTUSING WINDOWS when I typeset the example from both TeXworks *and* windows command prompt. In these cases, shouldn't the output say USING WINDOWS?<br>
<br>
</blockquote>
<br>
<br></div>
You could consider this a bug of the ifplatform package, I suppose. It detects the platform by analysing the side-effects of the shell; if you're using Cygwin, then the shell behaves like a *NIX shell.<br><font color="#888888">
<br>
Will<br>
<br>
<br>
</font></blockquote></div><br>