Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

6 May, 2024: The networking issue during the past two days has been identified and appears to be fixed. Will keep monitoring.


devel / comp.lang.python / Re: Find the path of a shell command [POSTPONED]

SubjectAuthor
o Re: Find the path of a shell command [POSTPONED]Barry

1
Re: Find the path of a shell command [POSTPONED]

<mailman.719.1665937266.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19919&group=comp.lang.python#19919

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: bar...@barrys-emacs.org (Barry)
Newsgroups: comp.lang.python
Subject: Re: Find the path of a shell command [POSTPONED]
Date: Sun, 16 Oct 2022 17:21:03 +0100
Lines: 39
Message-ID: <mailman.719.1665937266.20444.python-list@python.org>
References: <CAGGBd_pFLgkeO=MvEPk=2G8MQLMxmzgMHZp6Cjg5L97H0GQJeQ@mail.gmail.com>
<C300C53C-84C5-4434-B0B7-4E3F72E3DB35@barrys-emacs.org>
Mime-Version: 1.0 (1.0)
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de eKzhhkvjN+tMtRJeGmVDtgJxMED3/c70W/2BgSRNDN7A==
Return-Path: <barry@barrys-emacs.org>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '2022': 0.05; 'subject: [':
0.07; 'cc:addr:python-list': 0.09; 'cron': 0.09; 'dan': 0.09;
'from:addr:barry': 0.09; 'output:': 0.09; 'received:217.70': 0.09;
'received:gandi.net': 0.09; 'received:mail.gandi.net': 0.09;
'cc:no real name:2**0': 0.14; 'url:mailman': 0.15; '2022,': 0.16;
'afterwards.': 0.16; 'barry': 0.16; 'cameron': 0.16; 'from:addr
:barrys-emacs.org': 0.16; 'message-id:@barrys-emacs.org': 0.16;
'script,': 0.16; 'simpson': 0.16; 'skip:> 10': 0.16; 'wrote:':
0.16; 'problem': 0.16; 'larger': 0.17; 'cc:addr:python.org': 0.20;
"what's": 0.22; 'url-ip:188.166.95.178/32': 0.25; 'url-
ip:188.166.95/24': 0.25; 'url:listinfo': 0.25; 'cc:2**0': 0.25;
'url-ip:188.166/16': 0.25; 'old': 0.27; '>>>': 0.28; 'output':
0.28; 'environment': 0.29; 'this?': 0.29; 'url-ip:188/8': 0.31;
'execution': 0.32; 'launched': 0.32; 'there': 0.33; 'script':
0.33; 'someone': 0.34; 'header:In-Reply-To:1': 0.34; 'fine': 0.35;
'could': 0.38; 'use': 0.39; 'rest': 0.39; 'wed,': 0.39; 'still':
0.40; 'look': 0.65; 'received:217': 0.67; 'subject:]': 0.70
In-Reply-To: <CAGGBd_pFLgkeO=MvEPk=2G8MQLMxmzgMHZp6Cjg5L97H0GQJeQ@mail.gmail.com>
X-Mailer: iPad Mail (19H12)
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <C300C53C-84C5-4434-B0B7-4E3F72E3DB35@barrys-emacs.org>
X-Mailman-Original-References: <CAGGBd_pFLgkeO=MvEPk=2G8MQLMxmzgMHZp6Cjg5L97H0GQJeQ@mail.gmail.com>
 by: Barry - Sun, 16 Oct 2022 16:21 UTC

> On 16 Oct 2022, at 04:53, Dan Stromberg <drsalists@gmail.com> wrote:
>
> On Wed, Oct 12, 2022 at 9:57 PM Cameron Simpson <cs@cskk.id.au> wrote:
>
>>> On 13Oct2022 03:25, Paulo da Silva <p_d_a_s_i_l_v_a_ns@nonetnoaddress.pt>
>>> wrote:
>>> There is another problem involved. The script, works fine except when
>>> launched by cron! Why?
>>
>> Record the script output:
>>
>> # record all output
>> exec >/tmp/script.$$.out 2>&1
>> # dump the envionment
>> env | sort
>> # turn on execution tracing
>> set -x
>> ... rest of the script
>>
>> and have a look afterwards. Cron's environment is very minimal. This
>> will show you what's in it.
>>
>
> Careful. On some systems if someone restarts the cron daemon, it could
> pick up a larger environment than after being started on boot.

That have to a old system that does not use systemd.
Is there a specific system that still does this?

Barry

> --
> https://mail.python.org/mailman/listinfo/python-list
>

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor