Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Bash Headstart
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cybersecurity
Bash Headstart
Commits
67bb2466
Commit
67bb2466
authored
4 years ago
by
Nikolaos Kakouros
Browse files
Options
Downloads
Patches
Plain Diff
Fixes setting stdout/stderr
parent
a37fa305
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
headstart-core.bash
+1
-0
1 addition, 0 deletions
headstart-core.bash
lib/io
+0
-2
0 additions, 2 deletions
lib/io
with
1 addition
and
2 deletions
headstart-core.bash
+
1
−
0
View file @
67bb2466
...
@@ -139,6 +139,7 @@ function headstart() {
...
@@ -139,6 +139,7 @@ function headstart() {
.
"
$_GO_USE_MODULES
"
'system'
.
"
$_GO_USE_MODULES
"
'system'
set_standard_outputs
set_trace
"
$debug
"
set_trace
"
$debug
"
set_debug_levels
"
$verbosity
"
set_debug_levels
"
$verbosity
"
unset
verbosity
unset
verbosity
...
...
This diff is collapsed.
Click to expand it.
lib/io
+
0
−
2
View file @
67bb2466
...
@@ -168,5 +168,3 @@ function color_stderr() {
...
@@ -168,5 +168,3 @@ function color_stderr() {
@required
[
string]
command
@required
[
string]
command
"
$@
"
2>
>(
while
read
line
;
do
echo
-e
"
\e
[01;31merror:
$line
\e
[0m"
>
&2
;
done
)
"
$@
"
2>
>(
while
read
line
;
do
echo
-e
"
\e
[01;31merror:
$line
\e
[0m"
>
&2
;
done
)
}
}
set_standard_outputs
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment