Execute a shell script from an IUA
Execute a shell script from an IUA
(OP)
Hi all,
Does anyone know if it's possible?
Thanks
Does anyone know if it's possible?
Thanks
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS Come Join Us!Are you an
Engineering professional? Join Eng-Tips Forums!
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting GuidelinesJobs |
Execute a shell script from an IUA
|
RE: Execute a shell script from an IUA
Yes, it's possible. BUT I'm afraid You need fortran or C to do it.
You need to call fortran/C routine that executes Your shell script.
I have done 4.1.2 that but I don't have that code left..
There was some issues with signals in those days.
Regards TPale
RE: Execute a shell script from an IUA
c
c ****************************************
c * This subroutine calls a UNIX script *
c ****************************************
c
call system('ksh $HOME/plot_tif')
c
return
end
I hope this helps.
Jackie
RE: Execute a shell script from an IUA
Jackie, I tried to create a load module with your subroutine sample, but I get an error message in IUA function: load module cannot be loaded.
I've been using f77 to compile the .f file, and the "shared" command to generate the load module.
I also set the catia.iuamodule_usr to the right directory.
If you have an idea, let me know
Regards
RE: Execute a shell script from an IUA