Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
C# Webservice and TS command output
Victor2
Hi,
I am trying to create a webservice that is run on a windows TS server. The webservice takes a username an argument and creates the user as a TeamSite user. I am not able to redirect the output back to the webservice!
Anyone out there know how to achieve this ?
p.StartInfo.FileName = "e:/iw-home/bin/iwuseradm.exe";
p.StartInfo.UseShellExecute = false;
p.StartInfo.CreateNoWindow = false;
p.StartInfo.RedirectStandardError = true;
p.StartInfo.RedirectStandardInput = true;
p.StartInfo.RedirectStandardOutput = true;
domainname\\" + UserInit;
p.Start();
p.WaitForExit();
In perl all execution and the clt return value is caught "2>&1". Does anyone know how to catch the same in .Net ?
Any help or hints will be greatly appreciated.
Find more posts tagged with
Comments
There are no comments yet