Skip to content

Instantly share code, notes, and snippets.

@colomon
Created December 4, 2011 04:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colomon/1429114 to your computer and use it in GitHub Desktop.
Save colomon/1429114 to your computer and use it in GitHub Desktop.
constant $GLIB = "glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f";
constant GlibProcess = CLR::("GLib.Process,$GLIB");
my $standard-out = "";
my $standard-error = "";
my $exit-status = 1;
GlibProcess.SpawnCommandLineSync("ls", $standard-out, $standard-error, $exit-status);
say $standard-out;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment