Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Computer Aided Design - CAD > Cadence > Running Calibre...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 8 Topic 3988 of 4109
Post > Topic >>

Running Calibre in background by skill

by bedoune@[EMAIL PROTECTED] May 6, 2008 at 08:18 PM

hi,

I writing a skill that runs Calibre automatically.
I fill my options files automatically and then i run Calibre by
command:
csh(Com)
where Com = strcat("calibre" ...)


It works fine but i'm facing a problem. During the execution of the
command, Cadence is frozen and i have to wait ... i can't work during
this time.

So i tried to add "&" in my command :

Com = strcat("calibre" ... "&")
csh(Com)

In this case, the skill program is continuing but behavior of my skill
program is not as expected !


So i found an old topic about asynchronous code:


procedure(MYdataHandler(ipcId data)
  printf("%s" data)
)

procedure(MYexitHandler(ipcId exitStatus)
  printf("Process %L exited with status %d\n" ipcId exitStatus)
)

id=ipcBeginProcess("ls" "" 'MYdataHandler 'MYdataHandler
'MYexitHandler)


But i don't understand how it works and how to modify it to fit my
code.

could someone help me please ?

Thanks and regards,

b.
 




 8 Posts in Topic:
Running Calibre in background by skill
bedoune@[EMAIL PROTECTED]  2008-05-06 20:18:39 
Re: Running Calibre in background by skill
jayl-news@[EMAIL PROTECTE  2008-05-07 15:42:59 
Re: Running Calibre in background by skill
Riad KACED <riad.kaced  2008-05-07 16:31:05 
Re: Running Calibre in background by skill
Andrew Beckett <andrew  2008-05-08 10:52:13 
Re: Running Calibre in background by skill
bedoune@[EMAIL PROTECTED]  2008-05-13 18:30:53 
Re: Running Calibre in background by skill
Riad KACED <riad.kaced  2008-05-14 16:30:54 
Re: Running Calibre in background by skill
bedoune@[EMAIL PROTECTED]  2008-06-15 22:20:46 
Re: Running Calibre in background by skill
Andrew Beckett <andrew  2008-06-18 10:11:33 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 5 18:04:50 CDT 2008.