Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^5: Capturing bash output without displaying STOUT in terminal [SOLVED]

by Linicks (Scribe)
on Sep 08, 2016 at 18:14 UTC ( [id://1171425]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Capturing bash output without displaying STOUT in terminal
in thread Capturing bash output without displaying STOUT in terminal

OK, first I had to suss out git to clear tags so I could test:

git tag -d $(git tag)

does it.

Now, as assumed, output goes somewhere else, so:

#!/usr/bin/perl use warnings; use strict; my $git; $git = `git fetch --tags 2>&1`; print "What's here? --- $git\n";

sorts it.

Nick

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1171425]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-18 14:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found