From d8ffff6171b433b4e0a1b0849c060c9e1051734f Mon Sep 17 00:00:00 2001 From: Phil Burton Date: Tue, 11 Jun 2019 15:09:17 +0100 Subject: Stop piping pastebin stderr to null --- scripts/run.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/run.php') diff --git a/scripts/run.php b/scripts/run.php index b50bcc7..59af4be 100644 --- a/scripts/run.php +++ b/scripts/run.php @@ -6,7 +6,7 @@ use App\Etym; $baseURL = "http://www.etymonline.com/word/"; $htmlNode = "section[class^='word__defination']"; -$pasteCmd = "pastebinit -b http://p.of.je 2>/dev/null"; +$pasteCmd = "../pastebinit -b http://p.of.je"; $etym = new Etym($baseURL, $htmlNode, $pasteCmd); $result = $etym->getDefinition(); -- cgit v1.2.3