Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
openairinterface5G
Commits
2704037a
Commit
2704037a
authored
9 years ago
by
Rohit Gupta
Browse files
Options
Downloads
Patches
Plain Diff
added minor options to ctr-c handler in build script
parent
5ca76645
No related branches found
No related tags found
1 merge request
!6
Enhancement 57 uhd interfacing
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake_targets/tools/build_helper
+5
-1
5 additions, 1 deletion
cmake_targets/tools/build_helper
with
5 additions
and
1 deletion
cmake_targets/tools/build_helper
+
5
−
1
View file @
2704037a
...
@@ -346,7 +346,11 @@ do
...
@@ -346,7 +346,11 @@ do
arraycounter=`expr $arraycounter - 1`
arraycounter=`expr $arraycounter - 1`
## We want to kill child process id first and then parent id's
## We want to kill child process id first and then parent id's
while [ $arraycounter -ne 0 ]
while [ $arraycounter -ne 0 ]
do
do
echo "first we send ctrl-c to program"
$SUDO kill -INT "${procid[$arraycounter]}"
sleep 5
echo "Now we force kill if that didn't work"
$SUDO kill -9 "${procid[$arraycounter]}" >/dev/null
$SUDO kill -9 "${procid[$arraycounter]}" >/dev/null
arraycounter=`expr $arraycounter - 1`
arraycounter=`expr $arraycounter - 1`
done
done
...
...
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