|
From: | David Sugar |
Subject: | Re: [Bayonne-devel] Send message from child to parent |
Date: | Mon, 09 Aug 2004 14:52:20 -0400 |
User-agent: | Mozilla Thunderbird 0.7.1 (Macintosh/20040626) |
's ::getTrunk method that says if(!drv || !isdigit(*name)) to something like if(!drv || (!isdigit(*name) && !strchr(name, '-'))) Krytiana Loke wrote:
I've tried doing this parent.scr set %test 1 start.group var=&child_id default child sleep 10 .. ^event slog "HERE" ... child.scr session %session.parentid set %test 100 session ^error slog.crit %script.error exit and the error which comes out is invalid session.In the testing branch you would accomplish this differently than using "send":session %session.parentid (or %session.parent) set %someglobalvar-in-parent string-or-local-scope-%var session Krytiana Loke wrote:I did, and they did have values I did a print out in parent for %session.id and it's the same as the oneinchild ... ----- Original Message ----- From: "David Sugar" <address@hidden> To: "Krytiana Loke" <address@hidden> Cc: <address@hidden> Sent: Thursday, August 05, 2004 10:12 PM Subject: Re: [Bayonne-devel] Send message from child to parent Does either %session.parent or %session.parentid have a value? You might want to try echo or slogging them to verify.... Krytiana Loke wrote:I've tried the examples given in the scripting examples at bayonne's website, and the messages don't get passed. (They DO get passed IF I usethestable release). Basically it's just send %session.parentid. I'm trying to do a join between 2 calls (Yeah, I've seen it around inthemailing list) and somehow the message that the child is supposed to sendtothe parent is not being sent. If I do a ^error in the child, it'll be printed out as .. no session id (something like that .. writing frommemoryhere). ----- Original Message ----- From: "David Sugar" <address@hidden> To: <address@hidden> Cc: <address@hidden> Sent: Thursday, August 05, 2004 10:24 AM Subject: Re: [Bayonne-devel] Send message from child to parent The testing release of bayonne has it's own embedded copy of ccscript. What command are you trying to use to send? Krytiana Loke wrote:Hi, I've been trying out bayonne, and I can't get the created child process to send a message to the parent. I've looked at the mailing list andthescript examples, but somehow the message is not being sent to theparent.I'm using ccscript 2.5.6 and the testing release of bayonne.. Any help? Thanks! _______________________________________________ Bayonne-devel mailing list address@hidden http://lists.gnu.org/mailman/listinfo/bayonne-devel
[Prev in Thread] | Current Thread | [Next in Thread] |