Skip to content

Commit 0936099

Browse files
committed
fix documentation for end
1 parent 3ccb752 commit 0936099

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,8 @@ export class PythonShell extends EventEmitter{
404404
}
405405

406406
/**
407-
* Closes the stdin stream, which should cause the process to finish its work and close
407+
* Closes the stdin stream. Unless python is listening for stdin in a loop
408+
* this should cause the process to finish its work and close.
408409
* @returns {PythonShell} The same instance for chaining calls
409410
*/
410411
end(callback:(err:PythonShellError, exitCode:number,exitSignal:string)=>any) {

0 commit comments

Comments
 (0)