Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DocExplore
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexander BURNETT
DocExplore
Commits
219c5c1a
Commit
219c5c1a
authored
6 years ago
by
aburn
Browse files
Options
Downloads
Patches
Plain Diff
Fixed deferred scripts on mac and linux
parent
4be9be01
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/org/interreg/docexplore/OsUtils.java
+2
-2
2 additions, 2 deletions
src/org/interreg/docexplore/OsUtils.java
with
2 additions
and
2 deletions
src/org/interreg/docexplore/OsUtils.java
+
2
−
2
View file @
219c5c1a
...
...
@@ -108,7 +108,7 @@ public class OsUtils
else
if
(
SystemUtils
.
IS_OS_MAC
)
{
scriptFile
=
new
File
(
System
.
getProperty
(
"user.home"
)+
"/"
+
name
);
FileWriter
out
=
new
FileWriter
(
script
,
false
);
FileWriter
out
=
new
FileWriter
(
script
File
,
false
);
out
.
write
(
"#!/bin/bash\n"
);
out
.
write
(
"while kill -0 "
+
DocExploreTool
.
processPid
+
" 2> /dev/null; do sleep 1; done;\n"
);
out
.
write
(
script
);
...
...
@@ -118,7 +118,7 @@ public class OsUtils
else
{
scriptFile
=
new
File
(
System
.
getProperty
(
"user.home"
)+
"/"
+
name
);
FileWriter
out
=
new
FileWriter
(
script
,
false
);
FileWriter
out
=
new
FileWriter
(
script
File
,
false
);
out
.
write
(
"#!/bin/bash\n"
);
out
.
write
(
"while kill -0 "
+
DocExploreTool
.
processPid
+
" 2> /dev/null; do sleep 1; done;\n"
);
out
.
write
(
script
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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