b. Définition"de"la"méthode"permettant"de"gérer"des"scripts"avec"arguments"
*
*
g&*%G#J$+,*4/G.G+,)#,*)O,(#*"#'3,*V",*4$"/*3&*K,(#'$)*+,*(./'4#(*)O&W&)#*4&(*
+O&/K"%,)#(*,)*4&/&%<#/,?*T$"(*&33$)(*9$'/*%&')#,)&)#*3&*%G#J$+,*V"'*)$"(*4,/%,#*+,*
KG/,/*+,(*&/K"%,)#(?*g,*.j"/*+,*3&*%G#J$+,*,(#*(,)(';3,%,)#*'+,)#'V",*f*.,33,*.$)\",*
4/G.G+,%%,)#?*g&*K/$((,*)$"9,&"#G*9&*N#/,*3,*4&((&K,*+,(*4&/&%<#/,(*&"*(./'4#?*
g,*+G;"#*,#*3&*0')*+,*3&*%G#J$+,*($)#*'+,)#'V",(*f*.,*V",*3O$)*9',)#*+,*+G0')'/*
4/G.G+,%%,)#?*H$).*)$"(*&33$)(*)$"(*')#G/,((,/*f*3&*4&/#',*4,/%,##&)#*+,*+G0')'/*3&*
+G0')'#'$)*+,(*4&/&%<#/,(?*Y$"/*/G&3'(,/*.,##,*$4G/&#'$)*)$"(*&9$)(*;,($')*+,*+G0')'#*")*
.$)#,2#,*+,*(./'4#*V"'*,(#*+G0')'*f*4&/#'/*+,*3O')(#&).,*+,*#W4,*6./'4#1)K'),*V",*)$"(*
9,)$)(*+,*+G0')'/*4/G.G+,%%,)#?*
*
6./'4#A$)#,2#*.$)#,2#*^*&443,6./'4#?K,#A$)#,2#`ab*
*
]),*0$'(*.,*.$)#,2#,*+G0')'#*)$"(*&33$)(*3"'*&(($.',/*"),*')(#&).,*+O$;B,#*k*c')+')K(*l*
`%&44&K,*.3Gm9&3,"/aU*,)*"#'3'(&)#*3&*%G#J$+,*K,#c')+')K(*+"*.$)#,2#,*V",*3O$)*9',)#*+,*
./G,/?**
*
c')+')K(*;')+*^*.$)#,2#?K,#c')+')K(`6./'4#A$)#,2#?1Tn>T1o6A5Y1ab**
*
]),*0$'(*3,*3O')(#&).,*c')+')K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