Skip to content

Commit 0c30d6c

Browse files
Merge pull request #975 from MisterDA/lwt-process-timeout-seconds
`Lwt_process`: document that the timeout is in seconds
2 parents 04e8457 + b8a09e2 commit 0c30d6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/lwt_process.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ val shell : string -> command
4343
Unix and ["cmd.exe /c <cmd>"] on Windows). *)
4444

4545
(** All the following functions take an optional argument
46-
[timeout]. If specified, after expiration, the process will be
46+
[timeout], in seconds. If specified, after expiration, the process will be
4747
sent a {!Unix.sigkill} signal and channels will be closed. When the channels
4848
are closed, any pending I/O operations on them (such as
4949
{!Lwt_io.read_chars}) fail with exception {!Lwt_io.Channel_closed}. *)

0 commit comments

Comments
 (0)