X-Original-To: alpine-user@lists.alpinelinux.org Received: from mailauth4.nine.ch (mailauth4.nine.ch [94.230.211.190]) by lists.alpinelinux.org (Postfix) with ESMTP id E39955C4A54 for ; Wed, 31 May 2017 13:10:40 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by mailauth4.nine.ch (Postfix) with ESMTP id DC295C0E82; Wed, 31 May 2017 15:10:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mailauth4.nine.ch X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-999 required=5.6 tests=[ALL_TRUSTED=-1] autolearn=disabled Received: from mailauth4.nine.ch ([127.0.0.1]) by localhost (mailauth4.nine.ch [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25Zj33SgbW3w; Wed, 31 May 2017 15:10:38 +0200 (CEST) Received: from vimes (174.180.4.85.dynamic.wline.res.cust.swisscom.ch [85.4.180.174]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: pf@1042.ch) by mailauth4.nine.ch (Postfix) with ESMTPSA; Wed, 31 May 2017 15:10:38 +0200 (CEST) Received: by vimes (Postfix, from userid 1000) id A933120398; Wed, 31 May 2017 15:10:38 +0200 (CEST) Date: Wed, 31 May 2017 15:10:38 +0200 From: Jean-Louis Fuchs To: Prashanth Cc: alpine-user@lists.alpinelinux.org Subject: Re: [alpine-user] Executing shell command produces nothing on Alpine linux Message-ID: <20170531131038.GA5476@angua.1042.ch> References: X-Mailinglist: alpine-user Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.2 (2017-04-18) --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi On Tue, May 30, 2017 at 03:00:43PM -0700, Prashanth wrote: > I am running shell commands inside my Perl script, but it does not work as > expected. I am in a container with Alpine Linux as my base image. >=20 > my Perl version v5.24.0. >=20 > perl -e 'my $TEST =3D `ls -al`; print $TEST' >=20 > This prints nothing, but works on another system where I have Perl v5.6.1 > on Red Hat Linux. I had this problem. Some versions of Red Hat have some special kernel (I didn't investigate what it is). This causes many other distros not to run on Red Hat Kernel and vice versa. I solved that by running the container in a vagrant box. Best, Jean-Louis --W/nzBZO5zC0uMSeA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEfg6heaevSn5VXbPVQ5WfaECIbUUFAlkuwMtfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDdF MEVBMTc5QTdBRjRBN0U1NTVEQjNENTQzOTU5RjY4NDA4ODZENDUACgkQQ5WfaECI bUUrKBAAnZJu6l5p2aXsydECVb0TRyJHytygTcldhG4h0a52pbr7AtUqiy7b9/nl wpqaVXFAiXbjW/Kf6uyZSEfDkyJ4mfzfVHlenngBGQWDeIhCM2Oru6aDHqVJWise XHgvLskjwDjS0BYdbb60R4lJPIs4s8OxvzQLq8BQ8FQYNOLWz7oX0haTOEq1/fL3 aR73NmHuGLB9IFpqycMlZ1/l9E8j2WNAgQiftGRdsOjToG0p7YRSJCGfOsD7Z5HV A6k2oKY8CAGjXtjFBfsi0Ea+7fDRQ+BmYwor+teYQHdfbRqiykbG3VhmF/tSrBLk ErlVpkjoe4RmTGpCtAahCUuPZQG/a14xl6Szj4cWDUAybcGGjg6r55ep7ggo8/KX Q2pOv3ctABe/liqsZO0plTSDfvfE3aTMMqq/Q3/p+tM0PTdZtNInU8zvnBqB1JqX NK9hELSXEAikrpU/+up7fUf+uBMbbNEx5/7GkqqSvtBlt7dP0hu0X8TEPOvsqnCK MmnPj7Jgwk7lZz3zI/9htGBeSMgQlwH2OgVb41qCVPJhuHCm8kmt9ww753XaDuJv NAVXr/FXrUEM9wAVelYhCKLtVmtQGky2bJvBMajIfsOFSM+bht5Lsf6+v3/s779f WmP7cjdGxdYrtrO0iorUr2KuckRRcEQY82pcv8eCJmYPC+TJtZk= =l9D2 -----END PGP SIGNATURE----- --W/nzBZO5zC0uMSeA-- --- Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org Help: alpine-user+help@lists.alpinelinux.org ---