Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem with running a c program via Cadence

Status
Not open for further replies.

userateda

Newbie level 1
Joined
Oct 15, 2008
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,287
Hey,

I'm trying to tun a program located at ~/src/prog/myprog written in C.

But when I want to start it with
ipcBeginProcess("~/src/prog/myprog") it won't work.

Cadence says:
sh: ~/src/prog/myprog: not found

What is the problem here? A complete path will work, but I need the short one, like above.
Any ideas?
 

Hi.
First of all, I'd recommend you to use absolute path instead of relative.
May be Cadence can't resolve "~" sign?

Try ipcBeginProcess("~/src/prog/myprog")

And also check if your program has execute permissions.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top