|
In Powershell is there a better way to ping a host indefinitely besides doing something like this:
$max = [System.Int32]::MaxValue ping host -count $max
The ' %WINDIR%\System32\ping.exe ' has a ' -t ' option to ping until Ctrl-C is pressed.
Started by Luke Quinane on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
While (1) { ping host }
This will ping indefinitely until you press Ctrl - C just like ping -t.
|
|
I've been working on a web crawling .NET app in my free time, and one of the features of this app that I wanted to included was a pause button to pause a specific thread.
I'm relatively new to multi-threading and I haven't been able to figure out a way...
Started by Dan Herbert on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
The thread is most likely looping specify an infinite timeout so when the event is not signaled, the thread will block indefinitely.
To suspend a thread indefinitely is to use a ManualResetEvent .
|
|
I'm building a wrapper around a server cmd line script that should run indefinitely. What I need to do is to get the current stout without waiting for the subprocess to finish.
I mean, if I run the following, everything works fine:
ls = Popen(["ls"], ...
Started by Santi on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
See the solutions here.
I would guess that read() returns the entire contents? If you read a fixed size chunk in a loop you may get better results .
|
Ask your Facebook Friends
|
Is there any way to make a function (the ones I'm thinking of are in the style of the simple ones I've made which generate the fibonnacci sequence from 0 to a point, and all the primes between two points) run indefinitely. E.g. until I press a certain...
Answer Snippets (Read the full thread at stackoverflow):
As in almost all languages:
while True: # check what you want and eventually break print nextValue()
The second part of your question is more interesting:
Also, if it is based on time then is there anyway I could just extend the time and start it going... .
|
|
I have a DVD filled with about 3.5GB of large picture files (jpgs about 4mb each).
Every time I insert this disc into my computer and select the drive from explorer, it will lock up the explorer indefinitely.
I realise that it's trying to browse the whole...
Started by JanSolo on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at superuser):
Try holding down the shift key ....
Grab the portable version and you don't even have to install the program .
Not the cure for the problem at hand, but a workaround that will get you to access your pictures:
use UltraExplorer instead of Windows Explorer .
|
|
I have two tables: a source table and a target table. The target table will have a subset of the columns of the source table. I need to update a single column in the target table by joining with the source table based on another column. The update statement...
Started by j0rd4n on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
So something else is going on here; yes, you are calling for nested loops, but no,... .
Update: Ok, now that the query has been fixed -- I've done this exact thing many times, on unindexed tables well over 50K rows, and it worked fine in Oracle 10g and 9i .
|
|
I would like to run an asynchronous program on a remote linux server indefinitely. This script doesn't output anything to the server itself(other than occasionally writing information to a mysql database). So far the only option I have been able to find...
Started by pythonBOI on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
(or use an alias, if appropriate....
If the script is always to be run like this, you can write a mini script containing the line you just typed and run that instead .
That is the simplest way to do it if you want to (or have to) avoid changing the script itself .
|
|
I want to put a scrollable box inside of a fieldset, but I've run into a quirk and I can't figure out my way around it. When you put your scrollable div inside of a fieldset, the fieldset expands instead of making the scrollable element scroll.
Here's...
Started by spudly on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Sed lorem arcu, sodales....
I'm not sure if you want that, but this is working :
<div style="width: 300px; overflow: auto;"> <fieldset> <div style="overflow: auto; white-space: nowrap;"> Lorem ipsum dolor sit amet, consectetur adipiscing elit .
|
|
Tony Mitchell Suspended Indefinitely Oops.
Started by All Tide Up on
, 13 posts
by 8 people.
Answer Snippets (Read the full thread at tidefans):
Re: Tony Mitchell....
Re: Tony Mitchell Suspended Indefinitely anything else to add? like a link? Today we Americans lost Mitchell Suspended Indefinitely Originally Posted by CajunCrimson anything else to add? like a link the darkest timeline.
|
|
Wahmbulance CLOSED INDEFINITELY wahmbulance
Started by Sin Marai on
, 13 posts
by 4 people.
Answer Snippets (Read the full thread at gaiaonline):
CLOSED INDEFINITELY CLOSED INDEFINITELY CLOSED INDEFINITELY CLOSED INDEFINITELY The New Avatar Edit Post.
|