Mail archive
alpine-user

[alpine-user] Executing shell command produces nothing on Alpine linux

From: Prashanth <meetprashanth437_at_gmail.com>
Date: Tue, 30 May 2017 15:00:43 -0700

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.

my Perl version v5.24.0.

perl -e 'my $TEST = `ls -al`; print $TEST'

This prints nothing, but works on another system where I have Perl v5.6.1
on Red Hat Linux.



---
Unsubscribe:  alpine-user+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-user+help_at_lists.alpinelinux.org
---
Received on Tue May 30 2017 - 15:00:43 GMT