User Activity

  • Posted a comment on ticket #24 on Schily Tools

    Thank you for taking time for this issue. I tried various things on bosh 2020/10/07. When I specified a non-existent process ID, wait would return 127, as I expected. This issue seems to have been fixed. $ wait 98765 $ echo $? 127 The following code returns 0 instead of 12, unlike I expected (It was same on bosh 2020/09/03). ( sleep 1; exit 12 ) & sleep 3 wait "$!" echo $? # => 0 The following code will stuck on bosh 2020/10/07 (It was works on bosh 2020/09/03). main() { sleep 3 & PID1=$! sleep 3...

  • Posted a comment on ticket #24 on Schily Tools

    Sorry. Let me confirm again. From https://pubs.opengroup.org/onlinepubs/9699919799/utilities/wait.html EXAMPLES Although the exact value used when a process is terminated by a signal is unspecified, if it is known that a signal terminated a process, a script can still reliably determine which signal by using kill as shown by the following script: sleep 1000& pid=$! kill -kill $pid wait $pid echo $pid was terminated by a SIG$(kill -l $?) signal. I agree that we can't expect the exit status to be 143...

  • Posted a comment on ticket #24 on Schily Tools

    Thank you for the detailed explanation! I wondered what had happened because the number of 208 was unfamiliar to me. There are no problem. Thank you!

  • Created ticket #24 on Schily Tools

    bosh: I got unexpected exit status from "wait"

  • Posted a comment on ticket #23 on Schily Tools

    OK. Thank you for letting me know.

  • Created ticket #23 on Schily Tools

    bosh: export is not inherited

  • Posted a comment on ticket #22 on Schily Tools

    Oh, I'm sorry. I forgot to check this ticket. It seems to work in the simple case above. However, please note that I have not tried it in complicated cases.

  • Created ticket #22 on Schily Tools

    Problem when command substitution with redirection

View All

Personal Data

Username:
ko1nksm
Joined:
2020-04-16 10:37:11

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB