How to set env variable for an already running shell from other shell ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Can one export/set some variables for an already running shell from
other shell ?
Is there any command where i can specify env=value & shell process id ?

This is similar to sending signals from one to another process.

We have one program, which prints some debugging information when a
env variable is set. During execution, first a new shell is created &
then program is executed.
Sometimes that program gets stuck somewhere without printing anything.
If i set the env variable & then execute, the messages will come from
start of execution.
I want some mechanism so that when program is stuck, i can set that
env variable which will enable printing debugging information.

Is this possible using some command ? OR how to do this ?

This question is somewhat out of topic(not related to kernel). But,
still help will be appreciated.

TIA,
Yogeshwar

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux