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.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…