List Info

Thread: Using Command Line Interface from web application




Using Command Line Interface from web application
user name
2006-12-04 19:00:26
The one way I know of automating a command-line program is
to use
System.Diagnostics.Process & it's cohorts (especially
ProcessStartInfo--that's your API for specifying arguments).

HTH,

-Roy

-----Original Message-----
From: Discussion of building .NET applications targeted for
the Web
[mailtoOTNET-WE
BDISCUSS.DEVELOP.COM] On Behalf Of Malvinder Singh
Sent: Monday, December 04, 2006 6:19 AM
To: DOTNET-WEBDISCUSS.DEVELOP.COM
Subject: [DOTNET-WEB] Using Command Line Interface from web
application

Hi List,

I am working on a web application in .NET 2.0 using C# and
ASP 2.0. We
have Surround SCM as a source control. I need to access the
source
control through web application code, to check out and check
in specific
files.
The only help I have is Surround SCM manual, where use of
CLI (command
line interface) is mentioned, to access files in Surround
SCM. I don't
know how to use command line from my web application. Other
alternative
I was thinking of was, if I had API's to access Surround SCM
then I can
check in, check out files from web application code; but
unfortunately I
don't have API's to use, so I have to rely on using CLI from
web
application. I don't know how to do this.

Any help in this would be highly appreciated.

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com

View archives and manage your subscription(s) at
http://discuss.develop.com


===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )