I feel like i have been going in circles and getting no where
I am trying to do a git pull
LOCAL $sTemp = '"C:\Program Files (x86)\Git\bin\git.exe" pull'
LOCAL $sLine = ''
local $sToWrite = ''
local $PID = Run($sTemp,$GitDir,@SW_MAXIMIZE, $STDIN_CHILD + $STDOUT_CHILD)
StdinWrite($PID,$sToWrite)
IF( $PID <> 0) THEN
While 1
$sLine &= StdoutRead($PID)
MsgBox(0,'returned',$sLine)
If @error Then ExitLoop
Sleep(25)
Wend
Exit
EndIf
i have also tried
LOCAL $sTemp = '"C:\Program Files (x86)\Git\bin\git.exe" pull'
LOCAL $sLine = ''
local $PID = Run($sTemp,$GitDir,@SW_MAXIMIZE, $STDIN_CHILD + $STDOUT_CHILD)
StdinWrite($PID)
IF( $PID <> 0) THEN
While 1
$sLine &= StdoutRead($PID)
MsgBox(0,'returned',$sLine)
If @error Then ExitLoop
Sleep(25)
Wend
Exit
EndIf
This triggers the command prompt which gives me this info eventually
Username for 'SomeNonGitHubRepositiory':
Problem is that My message box always returns a blank without erroring out
If it did return somethign then i would do
$sToWrite = 'Username'
StdinWrite($PID,$sToWrite)
What did i miss?