fork download
  1. using System;
  2.  
  3. namespace ExportPathVariable
  4. {
  5. class Program
  6. {
  7. static void Main(string[] args)
  8. {
  9. Func<object,string>f= x=>Environment.GetEnvironmentVariable("PATH").Replace(";","\n").Replace(":","\n");
  10.  
  11. Console.WriteLine(f(0));
  12. }
  13. }
  14. }
  15.  
Success #stdin #stdout 0s 29664KB
stdin
Standard input is empty
stdout
/usr/local/bin
/usr/bin
/bin