175 Commits

Author SHA1 Message Date
Vadim Godunko
72fed6862a Merge branch 'topic/vadim/rpath' into 'master'
Disable RPATH generation for libraries

See merge request eng/ide/spawn!54
2026-01-26 11:21:35 +00:00
Vadim Godunko
53bd2349f9 Disable RPATH generation for libraries 2026-01-26 15:15:10 +04:00
Andry Ogorodnik
b77188b984 Merge branch 'gs_482' into 'master'
Load stdout when a process died

See merge request eng/ide/spawn!53
v26.0.0
2025-01-28 16:38:20 +00:00
Andry Ogorodnik
63dbb9180f Update spawn-internal-windows.adb 2025-01-28 14:41:50 +00:00
Andry Ogorodnik
bc386ca20f Load stdout when a process died
On Windows we have an issue when not all data is loaded from
 the output pipe when a process terminates.

For eng/ide/gnatstudio#482
2025-01-28 15:37:09 +01:00
Andry Ogorodnik
3d1a0e9cf5 Merge branch 'spawn_fix' into 'master'
Fixing issues

See merge request eng/ide/spawn!52
2025-01-07 15:25:22 +00:00
Andry Ogorodnik
6a178461af Update spawn-internal-monitor__windows.adb 2025-01-07 14:10:36 +00:00
Andry Ogorodnik
a47e0aa756 Fixing issues
- correct Append_Escaped_String to qoute arguments with spaces
- add Windows OS buffer for pipe to speedup reading
- fixing the monitor to set proper status when process can't be started
- fixing tests
- added new test for arguments quouting

(no-tn-check)
2025-01-07 15:03:37 +01:00
Max Reznik
7149d431b2 Merge branch 'topic/kill' into 'master'
We can't require process to be alive at `kill` call

See merge request eng/ide/spawn!50
v25.0.0
2024-05-21 11:53:04 +00:00
Maxim Reznik
c8d3359f80 We can't require process to be alive at kill call
because even if the user checks the process status before
calling the terminate procedure, the process can terminate
before `kill` is actually executed.

Refs gnatstudio#306
2024-05-17 12:38:01 +03:00
Vadim Godunko
806ae6dd6e Merge branch 'feature/Wrap_OS_gpr_external' into 'master'
Wrap external parameter OS with SPAWN_OS, as OS can clash with other projects

See merge request eng/ide/spawn!49
2023-11-29 08:16:50 +00:00
Rowan Walshe
91387d887b Wrap external parameter OS with SPAWN_OS, as OS can clash with other projects 2023-08-04 14:29:11 +01:00
Max Reznik
2642bd6d7d Merge branch 'topic/ada2022' into 'master'
Enable Ada 2022 for Spawn

See merge request eng/ide/spawn!48
v24.0.0
2023-05-18 09:24:48 +00:00
Maxim Reznik
4d80ffbec5 Fix Glib tests after API changes. 2023-05-12 18:18:42 +03:00
Maxim Reznik
eda1b9d167 Enable use of Ada 2022 by Alire. 2023-05-12 18:18:31 +03:00
Max Reznik
fcd3c701af Merge branch 'topic/fix_macos' into 'master'
Fix compilation on Mac OS X.

See merge request eng/ide/spawn!47
2023-04-28 20:07:51 +00:00
Maxim Reznik
40d94c4042 Fix compilation on Mac OS X. 2023-04-28 19:10:43 +03:00
Vadim Godunko
c6c4bf19a8 Merge branch 'topic/error_no_callbacks' into 'master'
Don't emit Error_Occured on IO errors

See merge request eng/ide/spawn!46
2023-04-26 12:35:34 +00:00
Vadim Godunko
bf3c793db6 Assert operation is successful. 2023-04-26 09:03:59 +03:00
Vadim Godunko
d3adc00f25 Fix copy-paste error. 2023-04-05 17:21:31 +04:00
Vadim Godunko
14ced1534b Pass error code to subprogram to create text message. 2023-04-04 14:41:03 +03:00
Vadim Godunko
107c9a503d V928-020 Kill only running processes. 2023-04-04 12:48:53 +04:00
Vadim Godunko
0e4d3960a8 Exclude Windows specific file on POSIX platforms. 2023-04-04 11:38:07 +04:00
Vadim Godunko
c219cd6f86 Report async IO errors by Glib implementation. 2023-04-04 11:35:50 +04:00
Vadim Godunko
e4a72f6ca7 Use appropriate callbacks to notify about async IO errors. 2023-04-04 09:26:21 +03:00