File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
library/src/scala/sys/process Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 14
14
// scala -J-Dscala.process.debug
15
15
// for process debugging output.
16
16
//
17
- package scala .sys {
17
+ package scala .sys
18
+ package process
18
19
/** This package handles the execution of external processes. The contents of
19
20
* this package can be divided in three groups, according to their
20
21
* responsibilities:
@@ -204,7 +205,8 @@ package scala.sys {
204
205
* - `destroy()`: this will kill the external process and close the streams
205
206
* associated with it.
206
207
*/
207
- package object process extends ProcessImplicits {
208
+ @ annotation.nowarn(" msg=package object inheritance" )
209
+ object `package` extends ProcessImplicits {
208
210
/** The input stream of this process */
209
211
def stdin = java.lang.System .in
210
212
/** The output stream of this process */
@@ -216,7 +218,6 @@ package scala.sys {
216
218
// if (isWin) Array("cmd.exe", "/C", _)
217
219
// else Array("sh", "-c", _)
218
220
219
- package process {
220
221
// These are in a nested object instead of at the package level
221
222
// due to the issues described in tickets #3160 and #3836.
222
223
private [process] object processInternal {
@@ -257,5 +258,3 @@ package scala.sys {
257
258
Console .println(" [process] " + (msgs mkString " " ))
258
259
}
259
260
}
260
- }
261
- }
You can’t perform that action at this time.
0 commit comments