$B%O%a%-%s%0;vL36I$G$9!#(B
(B
$B%O%a%-%s%0$4MxMQD:$-M-Fq$&8f:B$$$^$9!#Ev%5%$%H$O$*5$$KF~$j(B
$BD:$$$F$*$j$^$9$G$7$g$&$+!)4|4VFb$O;H$$J|Bj$G$4MxMQD:$1$^$9!#(B
$B?o;~!"%O%a%-%s%0:G?72hA|$r%,%s%,%s7G:\Cf$J$N$G$*8+F($7L5$/!*!*(B
(B
$B$5$F!"[EMAIL PROTECTED]:]$N$4MxMQNA6b$,[EMAIL
(BPROTECTE
Hi,
while running:
myapp 2>/dev/null&
I want to change 2>&1 without stop this job.
Is there some tips to finish it?
Thanks in advance
gan
__
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
While searching for more details about the requirement for `pwd -P' to set
PWD in POSIX mode, I found several other compliance bugs:
1) time is no longer allowed to be a reserved word. For example:
$ set -o posix
$ alias !='echo hi;'
$ alias time='ec
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: i386-redhat-linux-gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu'
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/s
[EMAIL PROTECTED] wrote:
Hi,
while running:
myapp 2>/dev/null&
I want to change 2>&1 without stop this job.
Is there some tips to finish it?
Unless the app itself responds to a signal to do that, there
is no way to accomplish it. At that point, it's out of the
shell's hands.
Chet
--
``The lyf so s
On Mon, Feb 21, 2005 at 05:19:22AM -0800, [EMAIL PROTECTED] wrote:
[...]
> while running:
>
> myapp 2>/dev/null&
>
> I want to change 2>&1 without stop this job.
> Is there some tips to finish it?
[...]
If you mean that you also want to discard stdout, you can try:
gdb myapp << EOF
attach $!
ca
$B%O%a%-%s%0;vL36I$G$9!#(B
(B
$B%O%a%-%s%0$4MxMQD:$-M-Fq$&8f:B$$$^$9!#Ev%5%$%H$O$*5$$KF~$j(B
$BD:$$$F$*$j$^$9$G$7$g$&$+!)4|4VFb$O;H$$J|Bj$G$4MxMQD:$1$^$9!#(B
$B?o;~!"%O%a%-%s%0:G?72hA|$r%,%s%,%s7G:\Cf$J$N$G$*8+F($7L5$/!*!*(B
(B
$B$5$F!"[EMAIL PROTECTED]:]$N$4MxMQNA6b$,[EMAIL
(BPROTECTE