How to capture the svn authentication prompt on powershell console -


i trying download subversion. able catch error message , success message. however, want capture prompt command gives me such username , pasword on console unable in current scenario. please help. code:

$msg=svn --force export $svn[$i] 2>&1  if ($lastexitcode -eq 1) {     "encountered error during svn checkout. error message $msg. please check." >> $logfile     exit }  $msg >> $logfile 

if want able login svn script, there couple of alternatives. 1 script input svn , pipe input svn:

$msg=svn --force export $svn[$i] 2>&1 <scripted_svn_input.txt 

however i'm guessing want supply unscripted input svn. in case can pipe output svn ps console , pipe input ps console svn. here complete example of here: how run interactive commands in application window powershell


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -