[Chapel Merge] Deprecate the Spawn module and rename it to Subpro

Branch: refs/heads/main
Revision: e836269
Author: daviditen
Link: Unavailable
Log Message:

Merge pull request #18615 from daviditen/rename-Spawn-module

Deprecate the Spawn module and rename it to Subprocess

[reviewed by @lydia-duncan]

Move Spawn.chpl to Subprocess.chpl and create a new Spawn that is deprecated
and just does 'public use Subprocess;'. Update doc comments for Spawn to point into
Subprocess to get the docs building correctly.

Removed functions that were deprecated last release or earlier in Spawn from
Subprocess.

Add a deprecation test and update tests to use Subprocess instead of Spawn.

Be careful to keep recently added throws documentation for methods on subprocess.

Signed-off-by: David Iten daviditen@users.noreply.github.com

Modified Files:
A modules/standard/Subprocess.chpl

A test/deprecated/spawnModule.chpl
A test/deprecated/spawnModule.good
R test/deprecated/subprocess-exit-status.chpl
R test/deprecated/subprocess-exit-status.good
M doc/rst/meta/modules/standard.rst
M modules/Makefile
M modules/standard/Spawn.chpl
M test/arrays/skyline/spawnPromoteBug.chpl
M test/chplenv/autocomplete/autocomplete.chpl
M test/chplenv/badcomp/badcomp.chpl
M test/classes/initializers/initequals/useOnly.chpl
M test/compflags/diten/savec.chpl
M test/io/ferguson/stdin-is-directory/stdin-is-directory.chpl
M test/library/packages/Curl/RunServer.chpl
M test/library/packages/ProtobufProtocolSupport/endToEndRunnerUtils.chpl
M test/library/packages/ZMQ/getLastEndpointMain.chpl
M test/library/packages/ZMQ/hello.chpl
M test/library/packages/ZMQ/interop-py/server.chpl
M test/library/packages/ZMQ/pair.chpl
M test/library/packages/ZMQ/req-rep.chpl
M test/library/packages/ZMQ/weather.chpl
M test/library/standard/FileSystem/copyFile/copyFile.chpl
M test/library/standard/Path/victor-ludorum/testcases_isAbsPath.chpl
M test/library/standard/Spawn/cat-test.chpl
M test/library/standard/Spawn/illegal-args.chpl
M test/library/standard/Spawn/no-command.chpl
M test/library/standard/Spawn/redirect-stderr-stdout.chpl
M test/library/standard/Spawn/spawn-checkmutate.chpl
M test/library/standard/Spawn/spawn-checkret.chpl
M test/library/standard/Spawn/spawn-error.chpl
M test/library/standard/Spawn/spawn-error2.chpl
M test/library/standard/Spawn/spawn-kill.chpl
M test/library/standard/Spawn/spawn-popen-input-error-long.chpl
M test/library/standard/Spawn/spawn-popen-input-output-error-long.chpl
M test/library/standard/Spawn/spawn-popen-input-output-error.chpl
M test/library/standard/Spawn/spawn-popen-input-output-long.chpl
M test/library/standard/Spawn/spawn-popen-input-output.chpl
M test/library/standard/Spawn/spawn-popen-input.chpl
M test/library/standard/Spawn/spawn-popen-wait.chpl
M test/library/standard/Spawn/spawn-popen.chpl
M test/library/standard/Spawn/spawn-popen2.chpl
M test/library/standard/Spawn/spawn-print-args-env.chpl
M test/library/standard/Spawn/spawn-system-shell.chpl
M test/library/standard/Spawn/spawn-system.chpl
M test/library/standard/Spawn/spawn-system2.chpl
M test/library/standard/Spawn/spawn-term.chpl
M test/library/standard/Spawn/two-waits.chpl
M test/library/standard/Spawn/ugni/spawn-system.chpl
M test/mason/MasonTestHelpers.chpl
M test/mason/env/mason-registry.chpl
M test/mason/mason-help-scope/masonHelpScope.chpl
M test/mason/masonInit/masonInitPathTest.chpl
M test/patterns/cltools/fileCompile/chplCompile.chpl
M test/performance/compiler/elliot/updateDatFiles.chpl
M test/studies/comd/elegant/arrayOfStructs/CoMD.chpl
M test/studies/dedup/dedup-distributed-ints.chpl
M test/studies/dedup/dedup-distributed-strings.chpl
M test/studies/dedup/dedup-extern.chpl
M test/studies/dedup/dedup-externblock.chpl
M test/studies/dedup/dedup-local.chpl
M test/studies/dedup/dedup-spawn-sort.chpl
M test/studies/labelprop/labelprop-tweets.chpl
M tools/mason/MasonBuild.chpl
M tools/mason/MasonExample.chpl
M tools/mason/MasonInit.chpl
M tools/mason/MasonNew.chpl
M tools/mason/MasonPublish.chpl
M tools/mason/MasonTest.chpl
M tools/mason/MasonUtils.chpl

Compare: https://github.com/chapel-lang/chapel/compare/7da862fe8c76...e83626996698