]> _ Git - cubist_util.git/commitdiff
wip #5661 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 19 Jan 2023 19:33:05 +0000 (20:33 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 19 Jan 2023 19:33:05 +0000 (20:33 +0100)
src/CommandLine/Node.php [deleted file]

diff --git a/src/CommandLine/Node.php b/src/CommandLine/Node.php
deleted file mode 100644 (file)
index d5b16b9..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
-namespace Cubist\Util\CommandLine;
-
-use Cubist\Util\CommandLine;
-use Cubist\Util\Files\Files;
-
-class Node
-{
-    public static function runJS($code)
-    {
-        $tmp = Files::tempnam() . '.js';
-        file_put_contents($tmp, $code);
-
-        $cl = new CommandLine('node');
-        $cl->setArg(null, $tmp);
-        $cl->execute();
-        return $cl;
-    }
-
-
-}
\ No newline at end of file