Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
StandardInput Not Continuing Process
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chase Brammer  
View profile  
 More options Dec 8 2010, 12:25 pm
From: Chase Brammer <cbram...@gmail.com>
Date: Wed, 8 Dec 2010 10:25:25 -0700
Local: Wed, Dec 8 2010 12:25 pm
Subject: StandardInput Not Continuing Process
I am try to directly interact with Git by using only stdin, stdout,
and stderr.  So
not going through a terminal at all, but calling Git directly.   I am
having an issue
with being able to continue a process that requires input.

For example, doing a clone from a HTTPS server may require a username/password.
I writing the password as utf, and also tried just UTF byes (ie no
prepended 16-bit int)
but am unable to get the process to continue and start the clone process.

Is there some signal, or trick to getting the process to continue?  I
thought that sending a
"\n" would work, but that doesn't seem to be working either.

Thanks for any help!

Chase
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chase Brammer  
View profile  
 More options Dec 23 2010, 11:55 am
From: Chase Brammer <cbram...@gmail.com>
Date: Thu, 23 Dec 2010 09:55:02 -0700
Local: Thurs, Dec 23 2010 11:55 am
Subject: Re: StandardInput Not Continuing Process
Bump, any ideas?

Chase

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Junio C Hamano  
View profile  
 More options Dec 23 2010, 12:20 pm
From: Junio C Hamano <gits...@pobox.com>
Date: Thu, 23 Dec 2010 09:20:10 -0800
Local: Thurs, Dec 23 2010 12:20 pm
Subject: Re: StandardInput Not Continuing Process
Certain things do want a real user sitting at the terminal (or GUI) even
when the standard streams are connected elsewhere, and password input
is one of the obvious things that would explicitly want to read from the
tty.

Perhaps driving whatever script you are writing via "expect" would work?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brian Gernhardt  
View profile  
 More options Dec 23 2010, 12:18 pm
From: Brian Gernhardt <be...@silverinsanity.com>
Date: Thu, 23 Dec 2010 12:18:15 -0500
Local: Thurs, Dec 23 2010 12:18 pm
Subject: Re: StandardInput Not Continuing Process

OnOn Wed, Dec 8, 2010 at 10:25 AM, Chase Brammer <cbram...@gmail.com> wrote:

> I am try to directly interact with Git by using only stdin, stdout,
> and stderr.  So
> not going through a terminal at all, but calling Git directly.   I am
> having an issue
> with being able to continue a process that requires input.

> For example, doing a clone from a HTTPS server may require a username/password.
> I writing the password as utf, and also tried just UTF byes (ie no
> prepended 16-bit int)
> but am unable to get the process to continue and start the clone process.

> Is there some signal, or trick to getting the process to continue?  I
> thought that sending a
> "\n" would work, but that doesn't seem to be working either.

Depending on what language you're using and your pipe settings, you might need to issue an fflush(git_stdin).

~~ Brian

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tay Ray Chuan  
View profile  
 More options Dec 24 2010, 9:45 pm
From: Tay Ray Chuan <rcta...@gmail.com>
Date: Sat, 25 Dec 2010 10:45:45 +0800
Local: Fri, Dec 24 2010 9:45 pm
Subject: Re: StandardInput Not Continuing Process

On Thu, Dec 9, 2010 at 1:25 AM, Chase Brammer <cbram...@gmail.com> wrote:
> For example, doing a clone from a HTTPS server may require a username/password.
> I writing the password as utf, and also tried just UTF byes (ie no
> prepended 16-bit int)
> but am unable to get the process to continue and start the clone process.

Try putting the username and password in ~/.netrc, or in the url with
https://user:p...@foo.com/ - that way, you can skip the "input process"
altogether.

--
Cheers,
Ray Chuan
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »