Thread (13 messages) flat view 13 messages, 7 authors, 2016-06-15

Re: MinGW port (was: Re: [ANNOUNCE] qgit4 aka qgit ported to Windows)

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:42:48

Marco Costalba wrote:
quoted
On Thu, 11 Jan 2007, Johannes Sixt wrote:
quoted
[*] because shell scripts like merge-one-file can't be invoked from an
exe like merge-index, yet. Fortunately this looks like the easiest part
to solve.
quoted
From an exe you could run:
     cmd.exe /c  <script with arguments>

Of course the problem is that the content of the script should be
understandable by cmd.exe windows interpreter.
We are talking about git's own scripts, which are (ba)sh and perl.

The route I'm going is to do the path lookup manually (if necessary),
then look at the first few bytes of the file for the interpreter, then
something like

 spawnvp(<interpreter-w/o-path>, <full-path-of-script plus args>)

-- Hannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help