Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15786

Re: Request For Enhancement - TID variable

From "Eric S. Raymond" <esr@thyrsus.com>
Newsgroups gnu.bash.bug
Subject Re: Request For Enhancement - TID variable
Date 2019-12-26 14:54 -0500
Organization Eric Conspiracy Secret Labs
Message-ID <mailman.1474.1577390071.1979.bug-bash@gnu.org> (permalink)
References <20191226153751.587634704BBB@snark.thyrsus.com> <ff2cd1e9-b697-415b-97bd-206e44712345@dancol.org> <20191226195427.GB8608@thyrsus.com>

Show all headers | View raw


Daniel Colascione <dancol@dancol.org>:
> Are you sure that'd help? Parallel runs bash in a bunch of subprocesses, so
> looking at PID would suffice to distinguish jobs. Are you sure you weren't
> seeing an invariant PID because you were letting the PID variable expansion
> happen too early?

The $$ is inside the script. I don't see how it could be later.

Rerunning the command, I think I misinterprteted the error messages before.  
The script is a wrapper around another script that is calling svnadmin to
create a Subversion repository.  svnadmin doesn't like something about 
its calling context and is complaining that it can't write a directory
atomically.

Not bash's problem.  Carry on!
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>


Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Request For Enhancement - TID variable "Eric S. Raymond" <esr@thyrsus.com> - 2019-12-26 14:54 -0500

csiph-web