r_nagu
22nd February 2007, 23:56
Hi,
Ok, this really beats me. Its probably something I am overlooking.
I have a shell script, which looks like the following:
bshell6.1 -server -set BSE_COMPNR=100 -set PACKAGE_COMB=B40Ocpro otipcsn900 &
When I run this shell script at the command prompt it works fine but when I call this shell script from a 3GL script from BaaN, it does not work. All I have in the 3GL script looks something like this:
shell("./runprog", 0)
If I take out the & at the end of the bshell6.1 command, it works fine. I am adding the & so that I can run this command in the background.
Any suggestions? Appreciate your help.
Thanks,
NS
Ok, this really beats me. Its probably something I am overlooking.
I have a shell script, which looks like the following:
bshell6.1 -server -set BSE_COMPNR=100 -set PACKAGE_COMB=B40Ocpro otipcsn900 &
When I run this shell script at the command prompt it works fine but when I call this shell script from a 3GL script from BaaN, it does not work. All I have in the 3GL script looks something like this:
shell("./runprog", 0)
If I take out the & at the end of the bshell6.1 command, it works fine. I am adding the & so that I can run this command in the background.
Any suggestions? Appreciate your help.
Thanks,
NS