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 > Re: Running Cal...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 8 Topic 3988 of 4373
Post > Topic >>

Re: Running Calibre in background by skill

by Andrew Beckett <andrewb@[EMAIL PROTECTED] > Jun 18, 2008 at 10:11 AM

bedoune@[EMAIL PROTECTED]
 wrote, on 06/16/08 06:20:
> Hello :)
> 
> I restart to fight with my program ^^
> 
> the solution proposed by Andrew works fine (arigatou Andrew-san!)
> but it does not work for all unix command ?
> 
> I mean, before running my command "Calibre ..." i need to run a setup
> script, by sourcing it. if i don't source it, calibre doesn't run.
> 
> so my full command is : "source Myfile ; Calibre ..."
> 
> I realized that ipcBeginProcess runs command like "sh" command.  I can
> not source any file with ipcBeginProcess nor sh.
> 
> That's why, initially,  i used the command "csh()" to execute my batch
> of commands (but freezes dfII during execution).
> 
> So i tried things like :
> 
> Com = "csh | source myfile && calibre ..."
> ipcBeginProcess(Com ...)
> 
> or
> 
> Com = "csh ; source myfile ; calibre ..."
> ipcBeginProcess(Com ...)
> 
> 
> do you have an idea on how to source my file, run calibre and using
> ipc at the same time ??
> 
> thanks a lot for your help.
> 
> regards,
> 
> b.

Use

Com="csh -c 'source myfile ; calibre ...'"

Andrew.
 




 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 Mon Dec 1 19:51:14 CST 2008.