Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
e65ef094
Commit
e65ef094
authored
21 years ago
by
Henrik (Grubba) Grubbström
Browse files
Options
Downloads
Patches
Plain Diff
Process.Process() now knows about the second argument to split_quoted_string().
Rev: lib/modules/Process.pmod:1.43
parent
a656b28d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/modules/Process.pmod
+10
-5
10 additions, 5 deletions
lib/modules/Process.pmod
with
10 additions
and
5 deletions
lib/modules/Process.pmod
+
10
−
5
View file @
e65ef094
...
@@ -17,9 +17,10 @@ class Process
...
@@ -17,9 +17,10 @@ class Process
//! @param args
//! @param args
//! Either a command line array, as the command_args
//! Either a command line array, as the command_args
//! argument to @[create_process], or a string that
//! argument to @[create_process
()
], or a string that
//! will be splitted into a command line array by
//! will be splitted into a command line array by
//! calling @[split_quoted_string].
//! calling @[split_quoted_string()] in an operating
//! system dependant mode.
//! @param m
//! @param m
//! In addition to the modifiers that @[create_process] accepts,
//! In addition to the modifiers that @[create_process] accepts,
//! this object also accepts
//! this object also accepts
...
@@ -37,9 +38,13 @@ class Process
...
@@ -37,9 +38,13 @@ class Process
//! @[create_process], @[split_quoted_string]
//! @[create_process], @[split_quoted_string]
static void create( string|array(string) args, void|mapping(string:mixed) m )
static void create( string|array(string) args, void|mapping(string:mixed) m )
{
{
if( stringp( args ) )
if( stringp( args ) ) {
args = split_quoted_string( [string]args );
args = split_quoted_string( [string]args
#ifdef __NT__
,1
#endif /* __NT__ */
);
}
if( m )
if( m )
::create( [array(string)]args, [mapping(string:mixed)]m );
::create( [array(string)]args, [mapping(string:mixed)]m );
else
else
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment