>>Hi folks
>>
>>I have a Shellexecute that is different. It gives different result then the same Shellexecute for example from VBA
>>
>>What I do is
>>
>>DECLARE INTEGER ShellExecute ;
>> IN SHELL32.DLL ;
>> INTEGER nWinHandle,;
>> STRING cOperation,;
>> STRING cFileName,;
>> STRING cParameters,;
>> STRING cDirectory,;
>> INTEGER nShowWindow
>>?ShellExecute(0, "open", "C:\Program Files (x86)\Git\git-bash.exe", "", "C:\", 1)
>>
>>(comes with git from
git-scm.com)
>>
>>What should raise git bash schell
>>
>>it raises it - but two additional windows too.
>>
>>If I do this from VBA I get just the shell window, same as I run the exe directly or any other way.
>>
>>RUN and Ed Rau's api_apprun CreateProcess will fail too.
>>
>>Seems to be something strange on VFP?
>
>Tried in my system, from VFP. Working fine, just one terminal window (and process in the task manager).
what version of git you are using? OS?
TIA
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]