Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3D580200B6C for ; Sun, 14 Aug 2016 05:20:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3BD85160AB2; Sun, 14 Aug 2016 03:20:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 76375160AA6 for ; Sun, 14 Aug 2016 05:20:09 +0200 (CEST) Received: (qmail 25528 invoked by uid 500); 14 Aug 2016 03:20:08 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 25513 invoked by uid 99); 14 Aug 2016 03:20:08 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Aug 2016 03:20:08 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C7373E03C0; Sun, 14 Aug 2016 03:20:07 +0000 (UTC) From: joshelser To: dev@phoenix.apache.org Reply-To: dev@phoenix.apache.org References: In-Reply-To: Subject: [GitHub] phoenix issue #186: cleanup sqlline*.py using python idioms. Content-Type: text/plain Message-Id: <20160814032007.C7373E03C0@git1-us-west.apache.org> Date: Sun, 14 Aug 2016 03:20:07 +0000 (UTC) archived-at: Sun, 14 Aug 2016 03:20:10 -0000 Github user joshelser commented on the issue: https://github.com/apache/phoenix/pull/186 ``` % ./bin/sqlline.py Traceback (most recent call last): File "./bin/sqlline.py", line 139, in main() File "./bin/sqlline.py", line 132, in main preexec_fn=os.setsid) File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1343, in _execute_child raise child_exception OSError: [Errno 63] File name too long ``` Looks like there is an upper limit on the command that can be executed. Can you turn the heredoc-style string into an array? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---