Sign in to follow this  
Followers 0
JamesDover

stdoutread refresh help

4 posts in this topic

#1 ·  Posted (edited)

I am connecting to a sql server via osql.exe and when i run a stdoutread for output then run a kill command the stdoutread doesn't refresh. Is it possible to refresh a stdoutread? Or is there a way to close a stdoutread with processexists and reopen it?

Cheers

Edited by JamesDover

Share this post


Link to post
Share on other sites



What do you mean by refresh? If there is nothing to read, you can't force a program to output more.

Share this post


Link to post
Share on other sites

Like for instance my osql.exe produces rows of names and I run a -kill command on one of the names and under the stdoutread it doesn't update the name i deleted with -kill.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

[sample code start]

[sample code end]

*insert your data in the appropriate spot...

Edited by flyingboz

Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0