running.pod (rakudo-2020.09) | : | running.pod (rakudo-2020.10) | ||
---|---|---|---|---|
skipping to change at line 147 | skipping to change at line 147 | |||
C<%TEMP%> and C<%TMP%> environment variables. | C<%TEMP%> and C<%TMP%> environment variables. | |||
=item C<PATH>, C<Path> (I<Str>; F<src/core.c/IO/Spec/>) | =item C<PATH>, C<Path> (I<Str>; F<src/core.c/IO/Spec/>) | |||
The C<IO::Spec::Unix.path> method splits C<$PATH> as a shell would; i.e. as a co lon-separated list. | The C<IO::Spec::Unix.path> method splits C<$PATH> as a shell would; i.e. as a co lon-separated list. | |||
C<IO::Spec::Cygwin> inherits this from C<IO::Spec::Unix>. | C<IO::Spec::Cygwin> inherits this from C<IO::Spec::Unix>. | |||
C<IO::Spec::Win32.path> will read the first defined of either C<%PATH%> or C<%Pa th%> as a | C<IO::Spec::Win32.path> will read the first defined of either C<%PATH%> or C<%Pa th%> as a | |||
semicolon-delimited list. | semicolon-delimited list. | |||
=item C<RAKU_HOME> | =item C<RAKUDO_HOME> | |||
Allows to override the Raku installation path. Defaults to C<[rakudo_executable_ dir]/../share/perl6>. | Allows to override the Raku installation path. Defaults to C<[rakudo_executable_ dir]/../share/perl6>. | |||
=item C<NQP_HOME> | =item C<NQP_HOME> | |||
Allows to override the NQP installation path. Defaults to C<[rakudo_executable_d ir]/../share/nqp>. | Allows to override the NQP installation path. Defaults to C<[rakudo_executable_d ir]/../share/nqp>. | |||
=back | =back | |||
=head1 WINDOWS PECULIARITIES | ||||
=head 2 Non-console applications | ||||
On Windows programs are compiled to either be I<console> applications or I<non-c | ||||
onsole> | ||||
applications. I<Console> applications always open a console window. There is no | ||||
straightforward way | ||||
to suppress this window. | ||||
Rakudo provides a separate set of executables suffixed with a C<'w'> (C<rakuw.ex | ||||
e>, C<rakudow.exe>, | ||||
...) that are compiled as I<non-console> applications. These do not spawn this c | ||||
onsole window. | ||||
B<WARNING> By default these I<non-console> applications will silently swallow ev | ||||
erything that is | ||||
printed to C<STDOUT> and C<STDERR>. | ||||
To receive the output of the program it suffices to redirect it externally: | ||||
C<rakuw.exe script.raku >stdout.txt 2>stderr.txt> | ||||
=head1 AUTHORS | =head1 AUTHORS | |||
Written by the Rakudo contributors, see the CREDITS file. | Written by the Rakudo contributors, see the CREDITS file. | |||
This manual page was written by Reini Urban, Moritz Lenz and the Rakudo | This manual page was written by Reini Urban, Moritz Lenz and the Rakudo | |||
contributors. | contributors. | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 24 lines changed or added |