This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM. Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 10 years and 7 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
i found this thread via google and it does exactly match my problem.
When i compile the following two lines...
PowerShell Code
Double-click the code block to select all.
start-process notepad -wait
start-process calc
... an x86 exe wont wait and an x64 exe will wait to start the calculator until the notepad has been closed.
I compiled this small testscript into any possible type (commandline, forms (with and without STA), windows (with and without STA)) but the -wait won´t work with a x86 exe.
Is there anything i am doing wrong or another way to start another process and to wait for?
Please post a new topic. If you need to refer to another post just provide a link. This way the original user doesn't get emails about someone else's questions and it prevents confusion on whose issue is what.
I am using the -Wait parameter but is has no effect if i compile it into a x86 (32bit) exe.
If i compile it into a x64 (64bit) exe it is working as intended.
Can u reproduce that or am i doing something wrong?
This topic is 10 years and 7 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.