Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
ff85c01e
Commit
ff85c01e
authored
Dec 15, 2000
by
Leigh B. Stoller
Browse files
Turn off line buffering for the sake of the web page which is
using a popen now.
parent
fdf26c3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
tbsetup/tbdoit
View file @
ff85c01e
...
...
@@ -7,6 +7,21 @@ use English;
#
my
$debug
=
1
;
#
# Turn off line buffering on output
#
$|
=
1
;
#
# We need to protect this from signals. 1st argument is signal name
#
sub
sighandler
{
my
(
$sig
)
=
@_
;
print
"
Caught a SIG
$sig
--shutting down
\n
";
tbendit
();
fatal
();
}
#
# This gets invoked from the Web interface. CD into the proper directory
# and do the tb stuff.
...
...
tbsetup/tbstopit
View file @
ff85c01e
...
...
@@ -16,6 +16,11 @@ my $tbdata = "tbdata";
$ENV
{'
PATH
'}
=
'
/bin:/usr/bin
';
delete
@ENV
{'
IFS
',
'
CDPATH
',
'
ENV
',
'
BASH_ENV
'};
#
# Turn off line buffering on output
#
$|
=
1
;
#
# Check args.
#
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment