Hi folks!
I tried an other way to solve the problem:
The open command has a lot of parameters. 2 of them are my coice: -e means that the given file will be opened by the TextEdit App. The -W parameter means that the open command waits of the return of the command. So that is what I need.
Sample ...
Search found 4 matches
- Tue May 19, 2020 2:42 pm
- Forum: Mac OSX
- Topic: RunProgram with #PB_Program_Wait does not wait
- Replies: 3
- Views: 3483
- Tue May 12, 2020 4:02 pm
- Forum: Mac OSX
- Topic: RunProgram with #PB_Program_Wait does not wait
- Replies: 3
- Views: 3483
Re: RunProgram with #PB_Program_Wait does not wait
Thanks for your hint!
I try another RunProgram call and it works so that my program is waiting:
CompilerSelect #PB_Compiler_OS
CompilerCase #PB_OS_MacOS
RunProgram("/Applications/TextEdit.app/Contents/MacOS/TextEdit",GetCurrentDirectory() + "/spoc"+Str(ProgramID)+".txt" ,"",#PB_Program_Wait ...
I try another RunProgram call and it works so that my program is waiting:
CompilerSelect #PB_Compiler_OS
CompilerCase #PB_OS_MacOS
RunProgram("/Applications/TextEdit.app/Contents/MacOS/TextEdit",GetCurrentDirectory() + "/spoc"+Str(ProgramID)+".txt" ,"",#PB_Program_Wait ...
- Mon May 11, 2020 2:39 pm
- Forum: Mac OSX
- Topic: RunProgram with #PB_Program_Wait does not wait
- Replies: 3
- Views: 3483
RunProgram with #PB_Program_Wait does not wait
Hi Folks!
In my program I want to start the editor of the OS where it is running to edit a SQL Statement.
In Windows and Linux it runs fine. The editor was started and my program waits until the editor is closed.
On MacOS the Editor is also started, but the program does not wait until the editor ...
In my program I want to start the editor of the OS where it is running to edit a SQL Statement.
In Windows and Linux it runs fine. The editor was started and my program waits until the editor is closed.
On MacOS the Editor is also started, but the program does not wait until the editor ...
- Thu Dec 12, 2019 2:17 pm
- Forum: Feature Requests and Wishlists
- Topic: ODBC Extensions
- Replies: 0
- Views: 1346
ODBC Extensions
Hi !
To extend the ODBC funtionality here ars some ideas:
1. Transactions.
That means, there is a SQL block something like that:
begin transaction
update table set field = 'this is a test' where field is ''
if sqlcode = 0 then
commit
else
rollback
2. Query Timeout parameter
This ...
To extend the ODBC funtionality here ars some ideas:
1. Transactions.
That means, there is a SQL block something like that:
begin transaction
update table set field = 'this is a test' where field is ''
if sqlcode = 0 then
commit
else
rollback
2. Query Timeout parameter
This ...