mail-archives/gtk-sharp-list/2007-August/008165.html

85 строки
3.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Gtk-sharp-list] setenv equivalent in C# mono
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20setenv%20equivalent%20in%20C%23%20mono&In-Reply-To=46B9F0A1.262E.00FA.0%40novell.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="008164.html">
<LINK REL="Next" HREF="008166.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Gtk-sharp-list] setenv equivalent in C# mono</H1>
<B>Joe Dluzen</B>
<A HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20setenv%20equivalent%20in%20C%23%20mono&In-Reply-To=46B9F0A1.262E.00FA.0%40novell.com"
TITLE="[Gtk-sharp-list] setenv equivalent in C# mono">jdluzen at gmail.com
</A><BR>
<I>Wed Aug 8 10:01:13 EDT 2007</I>
<P><UL>
<LI>Previous message: <A HREF="008164.html">[Gtk-sharp-list] setenv equivalent in C# mono
</A></li>
<LI>Next message: <A HREF="008166.html">[Gtk-sharp-list] Transparent / Translucent Gtksharp windows
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8165">[ date ]</a>
<a href="thread.html#8165">[ thread ]</a>
<a href="subject.html#8165">[ subject ]</a>
<a href="author.html#8165">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hello,
Environment.GetEnvironmentVariable
Environment.GetEnvironmentVariables
Environment.SetEnvironmentVariable
should be what you need.
regards,
Joe
On 8/8/07, Murugan K &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">kmurugan at novell.com</A>&gt; wrote:
&gt;<i> Hi All,
</I>&gt;<i>
</I>&gt;<i> In my C# code, I want to set some environment variables and want to call one perl script which will consume those variables using StartProcess . Is there any equivalent API to setenv and getenv in mono C# which can be consumed by StartProcess alone. I am looking for some alternative other than import LIBC setenv.
</I>&gt;<i>
</I>&gt;<i> Thanks in advance.
</I>&gt;<i>
</I>&gt;<i> Regards
</I>&gt;<i> K.Murugan
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> _______________________________________________
</I>&gt;<i> Gtk-sharp-list maillist - <A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">Gtk-sharp-list at lists.ximian.com</A>
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">http://lists.ximian.com/mailman/listinfo/gtk-sharp-list</A>
</I>&gt;<i>
</I></PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="008164.html">[Gtk-sharp-list] setenv equivalent in C# mono
</A></li>
<LI>Next message: <A HREF="008166.html">[Gtk-sharp-list] Transparent / Translucent Gtksharp windows
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8165">[ date ]</a>
<a href="thread.html#8165">[ thread ]</a>
<a href="subject.html#8165">[ subject ]</a>
<a href="author.html#8165">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">More information about the Gtk-sharp-list
mailing list</a><br>
</body></html>