[svn:mod_parrot] r201 - mod_parrot/trunk/lib/ModParrot/HLL
[email protected] 16 Aug 2005 18:36:54 -0000
Newsgroups
perl.cvs.mod_parrot
Message-ID
<[email protected] >
Author: jhorwitz
Date: Tue Aug 16 11:36:53 2005
New Revision: 201
Modified:
mod_parrot/trunk/lib/ModParrot/HLL/pugs.imc
Log:
IMC output from pugs now goes to stdout
Modified: mod_parrot/trunk/lib/ModParrot/HLL/pugs.imc
==============================================================================
--- mod_parrot/trunk/lib/ModParrot/HLL/pugs.imc (original)
+++ mod_parrot/trunk/lib/ModParrot/HLL/pugs.imc Tue Aug 16 11:36:53 2005
@@ -23,16 +23,12 @@
.local string imcpath
# compile handler
- cmd = "cd /tmp; pugs -CParrot -M"
- concat cmd, module
- concat cmd, " >/dev/null"
- rc = spawnw cmd
-
- # rename the output
imcpath = "/tmp/"
concat imcpath, module
concat imcpath, ".imc"
- cmd = "mv /tmp/dump.ast "
+ cmd = "cd /tmp; pugs -CParrot -M"
+ concat cmd, module
+ concat cmd, " > "
concat cmd, imcpath
rc = spawnw cmd