Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
iTasks-SDK
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
74
Issues
74
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clean-and-itasks
iTasks-SDK
Commits
f9f21a17
Commit
f9f21a17
authored
Oct 03, 2019
by
Steffen Michels
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't try to ignore SIGPIPE on Windows
parent
5bb1866f
Pipeline
#30746
passed with stage
in 5 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Libraries/iTasks/Internal/TaskServer.icl
Libraries/iTasks/Internal/TaskServer.icl
+3
-1
No files found.
Libraries/iTasks/Internal/TaskServer.icl
View file @
f9f21a17
...
...
@@ -7,6 +7,7 @@ import StdEnv
import
System
.
CommandLine
import
System
.
Time
import
System
.
Signal
import
System
.
OS
import
TCPIP
import
Text
import
iTasks
.
Engine
...
...
@@ -75,7 +76,8 @@ where
(
Error
(_,
e
),
world
)
=
abort
$
concat
[
"Couldn't install SIGTERM: "
,
e
,
"
\n
"
]
(
Ok
h1
,
world
)
=
case
signalInstall
SIGINT
world
of
(
Error
(_,
e
),
world
)
=
abort
$
concat
[
"Couldn't install SIGINT: "
,
e
,
"
\n
"
]
(
Ok
h2
,
world
)
=
case
signalIgnore
SIGPIPE
world
of
// Windows doesn't use SIGPIPE
(
Ok
h2
,
world
)
=
case
IF_WINDOWS
(
Ok
(),
world
)
(
signalIgnore
SIGPIPE
world
)
of
(
Error
(_,
e
),
world
)
=
abort
$
concat
[
"Couldn't ignore SIGPIPE: "
,
e
,
"
\n
"
]
(
Ok
_,
world
)
=
{
iworld
&
signalHandlers
=[
h1
,
h2
:
signalHandlers
],
world
=
world
}
...
...
Camil Staps
🚀
@cstaps
mentioned in issue
#349 (closed)
·
Oct 10, 2019
mentioned in issue
#349 (closed)
mentioned in issue #349
Toggle commit list
Write
Preview
Markdown
is supported
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