PxPlus User Forum

Twitter Twitter Twitter

Recent Posts

Pages: [1] 2 3 ... 10
1
Programming / Re: Background process with no wait... INVOKE?
« Last post by Mike King on October 22, 2021, 02:29:09 PM »
Technically the INVOKE can be used to spawn a process, however on Unix/Linux it defaults to wait for the process so that an error branch can be taken should the invoke fail.
2
Programming / Re: Background process with no wait... INVOKE?
« Last post by Cedric on October 22, 2021, 12:24:14 PM »
Ok, thanks Keith and Mike...  I'll try it out... It makes perfect sense, just thought the INVOKE method existed for that purpose but I guess I misread the documentation.

Thank you
3
Programming / Re: Background process with no wait... INVOKE?
« Last post by Mike King on October 22, 2021, 09:55:56 AM »
Cedric

You might also want to consider using Pipes.  This will launch background processes and allow your main thread to continue to run.  You could even return the actual "found" items in the pipe itself.
4
Nomads / Re: Spell Check TinyMCE
« Last post by Devon Austen on October 22, 2021, 09:34:36 AM »
This seems to be an issue with the embedded chrome browser we ship with PxPlus 2021. Please create a help desk ticket so we can investigate this issue.

https://helpdesk2.pvxplus.com/open.php
5
Programming / Re: Background process with no wait... INVOKE?
« Last post by keith.mcbride on October 22, 2021, 08:34:48 AM »
In Linux if you add an & to the end of  the command line it will run in the background and returning control immediately.
You can INVOKE your existing command, adding a  " &" on the end and it should return control right away.
That should allow you to start all the processes asynchronously
6
Programming / Background process with no wait... INVOKE?
« Last post by Cedric on October 22, 2021, 08:23:10 AM »
Hi,

I`m looking to improve a function we have that searchs for products via 3 different APIs...  Right now, everything is synchronous, so was looking for a way to go asynchronous to launch 3 queries at the same time and use some sort of data control record to flag when all 3 process are done.  I was trying to use INVOKE in a linux environment where I thought it was creating a new process and executing the command without waiting for the response?

It seems to work pretty much the same as SYS() except I don't receive the response code from OS?  The main process seems to wait until the invoke command is done processing to continue its process...I thought that maybe I had to set param IW to 0, but that didn't do anything!


So, my question is:

Is there a way to execute a background process so that our main process doesn't wait for that background process to finish in linux?  Worst case, I guess I could use a linux shell script... Note that this function could be executed in a WindX session or directly on the server (web queries).
7
Programming / Re: Increased Font Size within pdf file
« Last post by Devon Austen on October 22, 2021, 08:20:04 AM »
To have better control of the alignment maybe you want to use the 'TEXT' mnemonic which allows you to define a rectangle that the text is aligned within

https://manual.pvxplus.com/?mnemonics/text.htm
8
Programming / Increased Font Size within pdf file
« Last post by Shilpa Purushothaman on October 22, 2021, 03:06:33 AM »
03643 PRINT (W0)" "
03644 LET L0=L0+1
03645 LET L$=PAD("Account ID:"+*****+"  "+*****,140,"C")
03650 PRINT (W0)'FONT'(FONT$,-8,"B"),'BLUE',L$
03670 LET L0=L0+1
03680 PRINT (W0)" "
03681 LET L0=L0+1
03690 RETURN

Hello,
This is the code which I am using to print the Account ID and Account Name. When I increase the font size from 8 to 9 or 10 the alignment is getting collapsed. How do I do without any changes in the alignment could you please help me.
9
Nomads / Spell Check TinyMCE
« Last post by bbssupport on October 21, 2021, 06:14:32 PM »
Hi All,

I cannot seem to get the TinyMCE spell check functionality working on v18.1 in nomads using the provided control. I'm using the standard built-in extended layout. Any ideas?

See attached.

Chris

10
Programming / Re: Error 99 in *plus/proj/pathinfo
« Last post by Loren Doornek on October 21, 2021, 05:54:55 AM »
Thanks for your help and explanations of this, Jane.  I've created a support ticket (687435) for your purposes, but the issue is resolved to our satisfaction  :D
Pages: [1] 2 3 ... 10