Re: execution of script in one shell
- From: "nobull67@xxxxxxxxx" <nobull67@xxxxxxxxx>
- Date: 30 Jan 2007 10:36:44 -0800
On Jan 30, 12:12 pm, isa...@xxxxxxxxx (Irfan Sayed) wrote:
Hi All,
I am executing one perl script which has one clearcase command
"cleartool setview". after running this command it starts a new shell
and my script stop executing further.
Is there any way so that i can run script including this cleartool
setview command in one shell itself.
WARNING: I've never used or seen cleartool and don't even know what it
is. But I'm guessing, from questions I've seen in the past, that it's
some sort of version control tool.
If I understand what you are asking correctly this is a question about
cleartool, not Perl.
But see also Perl FAQ: "I {changed directory, modified my environment}
in a perl script. How come the change disappeared when I exited the
script? How do I get my changes to be visible?"
This FAQ, in fact, has nothing to do with Perl - it applies to _all_
languages. Including, therefore, whatever language cleartool is
written in. The situation described in this FAQ probably explains why
cleartool is behaving the way it is.
If you want to execute further commands within the enviroment
established by "cleartool setview" then you probably need to check the
documentation of "cleartool setview" to see if you can tell it to
execute _another_ script containing those commands.
.
- References:
- execution of script in one shell
- From: Irfan Sayed
- execution of script in one shell
- Prev by Date: Re: How do I output an array twice via pipe instead of only once?
- Next by Date: Perl X file
- Previous by thread: Re: execution of script in one shell
- Next by thread: Re: confusion with splitting columns using [-n, -n] (e.g; my ( $country, $bytes ) = ( split )[ -2, -1 ])
- Index(es):
Relevant Pages
|
|