![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
King of Portal
|
I'd like to know how I can run the same script twice (on the command line or even in my browser) so that I can get overlapping outputs on my windows machine. So, for instance if the script were something simplistic like the following:[PHP]<?php
while(true){ fwrite(STDOUT, "Process ID: " . getmypid() . "\n"); sleep(1); } ?>[/PHP]The output in the command line would be something along the lines of: Process ID: 3894 Process ID: 3894 Process ID: 3894 Process ID: 2295 Process ID: 3894 Process ID: 2295 ...
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| understanding scripts | Special T | Delphi | 0 | Oct 24th, 2006 8:26 PM |