Skip to content

Commit 6eaac2d

Browse files
committed
Notify the script has been tested for bash, closes #9890
1 parent 92650c8 commit 6eaac2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/lib/port.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ defmodule Port do
132132
While we encourage graceful termination by detecting if stdin/stdout has been
133133
closed, we do not always have control over how third-party software terminates.
134134
In those cases, you can wrap the application in a script that checks for stdin.
135-
Here is such script in `sh`:
135+
Here is such script that has been verified to work on bash shells:
136136
137-
#!/bin/sh
137+
#!/usr/bin/env bash
138138
139139
# Start the program in the background
140140
exec "$@" &

0 commit comments

Comments
 (0)