Mail Archives: cygwin/2008/01/10/19:12:27
--------------enig402E00AB7815DF8E8DDEAEE4
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
> Now, in Cygwin 1.7.x (a.k.a. CVS HEAD), this is no longer the case (since
> revision 1.243 of spawn.cc). The comment simply says "Drop
> pty_needs_alloc_console check" -- maybe Corinna can explain why it was
> dropped. So your program will not work as expected in the snapshots.
OK, thanks for the explanation.
But ... wouldn't that mean that any command executed would open a
console window?
In your other responses, you said, that using the shell is the most
preferrable way. Unfortunatly, i cannot use the shell. The method is
well understood. I could easily execute cygwin stuff by using:
bash -c "exec \"\$0\" \"\$@\"" program param1 param2 ...
The program from which i want to execute pdflatex/pslatex/etc. (which is
Texlipse, a Latex plugin for Eclipse) doesn't allow me to do so.
But aside from that: is the shell really the preferred way of doing
this? Doesn't the shell simply call execve again?
Following what you said, it should be best to call bash.exe from run.exe
to solve all the issues. So the question is: who does all the checks
(shebang, etc.)?
- the execve implementation? (which is cygwin, right?)
- the shell?
- both?
--------------enig402E00AB7815DF8E8DDEAEE4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHhrQ27Ww7FjRBE4ARAjaCAKDH0FHkp+9HSfSLO6k65ne314mU8wCgmsWc
DBW27wslckNdneLR08/Ekuc=
=IVQl
-----END PGP SIGNATURE-----
--------------enig402E00AB7815DF8E8DDEAEE4--
- Raw text -