menu
dpk package
documentation
core/shell.dart
core/shell.dart
dark_mode
light_mode
core/shell
library
Functions
shellCommand
(
String
command
, {
bool
?
windows
})
→ (
{
List
<
String
>
arguments
,
String
executable
}
)
The shell that runs script commands:
/bin/sh
on macOS and Linux, and
cmd.exe
on Windows. Scripts run in the same shell for every teammate, whatever their login shell is.
shellQuote
(
String
value
)
→
String
Quotes
value
for a POSIX shell, leaving plain words unquoted.
withArguments
(
String
command
,
List
<
String
>
arguments
, {
bool
?
windows
})
→
String
command
followed by
arguments
, each quoted for the shell so it reaches the script as one argument.
dpk package
documentation
core/shell.dart
dpk
package
Libraries
catalog/catalog_application
catalog/pubspec_updates
commands/catalog_command
commands/clean_command
commands/doctor_command
commands/dpk_command
commands/exec_command
commands/get_command
commands/init_command
commands/list_command
commands/patch_command
commands/pub_passthrough_command
commands/release_command
commands/run_command
commands/skills_command
config/config_migration
config/config_reader
config/dpk_config
config/project
constants/embedded_dpk_skill
constants/pubspec
core/command_runner
core/console
core/constants
core/context
core/errors
core/invocation
core/process_runner
core/self_command
core/shell
patching/git
patching/project_cache
release/conventional_commit
release/release_plan
scripts/hook_lifecycle
scripts/run_plan
scripts/script_executor
utils/pubspec_sorter
utils/terminal_title
utils/version_output
workspace/workspace
shell library