Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

0
Wait for output line of .EXE file
Post Flair (click to view more posts with a particular flair)
Post Body

Hello,

I am using the Start-Process command to execute an .exe file.

When the exe file starts running it open a cmd window and starts displaying output messages.

One of this messages is "Wait (X) amount of time before continuing"

I would like to know if:

a) Is there a way for the powershell script to check the output and wait for that line before executing something else.

b) Is there a way to get the .exe output on the same shell as the script instead of on a new window.

Thanks for your help.

Author
Account Strength
90%
Account Age
5 years
Verified Email
Yes
Verified Flair
No
Total Karma
4,618
Link Karma
1,282
Comment Karma
3,262
Profile updated: 6 days ago
Posts updated: 1 year ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago