You appear to be a bot. Output may be restricted
Description
Prompt to check if the process should be continuedThis routine does not make any decisions. If you want to stop you just press Ctrl-Break.
Usage
docontinue( $plugin );
Parameters
- $plugin
- ( mixed ) optional default: Press Ctrl-Break to halt –
Returns
voidSource
File name: oik-batch/libs/oik-cli.phpLines:
1 to 9 of 9
function docontinue( $plugin="Press Ctrl-Break to halt" ) { echo PHP_EOL; echo "Continue? $plugin "; $stdin = fopen( "php://stdin", "r" ); $response = fgets( $stdin ); $response = trim( $response ); fclose( $stdin ); return( $response ); }View on GitHub