]> gitweb.factorcode.org Git - factor.git/commitdiff
separated run-desc from launcher
authorSam Anklesaria <sam@Tintin.local>
Wed, 22 Jul 2009 15:28:27 +0000 (10:28 -0500)
committerSam Anklesaria <sam@Tintin.local>
Wed, 22 Jul 2009 15:28:27 +0000 (10:28 -0500)
extra/run-desc/run-desc.factor [new file with mode: 0644]

diff --git a/extra/run-desc/run-desc.factor b/extra/run-desc/run-desc.factor
new file mode 100644 (file)
index 0000000..6acf66d
--- /dev/null
@@ -0,0 +1,3 @@
+USING: io io.encodings.utf8 io.launcher kernel sequences ;
+IN: run-desc
+: run-desc ( desc -- result ) utf8 [ contents [ but-last ] [ f ] if* ] with-process-reader ;