On 7/20/20 6:04 PM, Vladimir Panteleev wrote:
On Monday, 20 July 2020 at 20:55:52 UTC, Steven Schveighoffer wrote:
I tried redirecting /dev/null to stdin when executing my application
(and I assumed that would pass onto the process child), but it still
asks. What am I doing wrong?
Generically
On Monday, 20 July 2020 at 20:55:52 UTC, Steven Schveighoffer
wrote:
I don't want any user interaction. Occasionally, I get a
repository that no longer exists (404). Then git comes up and
asks for a username/password. I want it to just fail.
Apparently git has no option to be non-interactive,
On Monday, 20 July 2020 at 20:55:52 UTC, Steven Schveighoffer
wrote:
I tried redirecting /dev/null to stdin when executing my
application (and I assumed that would pass onto the process
child), but it still asks. What am I doing wrong?
Generically, I think you want to detach the program from t
On Monday, 20 July 2020 at 21:44:31 UTC, Steven Schveighoffer
wrote:
I think you might be right. I don't know how it's accessing my
terminal, but clearly it can keep doing so even without any
handles open.
Probably /dev/tty
On 7/20/20 5:24 PM, H. S. Teoh wrote:
On Mon, Jul 20, 2020 at 04:55:52PM -0400, Steven Schveighoffer via
Digitalmars-d-learn wrote:
I am doing some scripting via D, and using std.process.execute to git
clone things.
I don't want any user interaction. Occasionally, I get a repository
that no lo
On Mon, Jul 20, 2020 at 04:55:52PM -0400, Steven Schveighoffer via
Digitalmars-d-learn wrote:
> I am doing some scripting via D, and using std.process.execute to git
> clone things.
>
> I don't want any user interaction. Occasionally, I get a repository
> that no longer exists (404). Then git com
I am doing some scripting via D, and using std.process.execute to git
clone things.
I don't want any user interaction. Occasionally, I get a repository that
no longer exists (404). Then git comes up and asks for a
username/password. I want it to just fail. Apparently git has no option
to be n