3 * (c) 2002, Carlos Hasan, for OpenBeOS.
8 #include <app/Messenger.h>
10 int main(int argc
, char *argv
[])
15 printf("use: %s mime_sig\n", argv
[0]);
19 BMessenger
messenger(argv
[1]);
21 if (!messenger
.IsValid()) {
22 printf("could not find running app with sig %s\n", argv
[1]);
26 if ((status
= messenger
.SendMessage(B_QUIT_REQUESTED
)) != B_OK
) {
27 printf("could not send message, %s\n", strerror(status
));